mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 02:58:06 +02:00
XQuartz: Replace deprecated API usage thanks to Robery Murphy
This commit is contained in:
parent
81bb412857
commit
71dd052412
1 changed files with 2 additions and 1 deletions
|
|
@ -337,7 +337,8 @@ void QuartzAudioInit(void)
|
|||
// fixme assert fadeLength<framesPerBuffer
|
||||
|
||||
// Prepare for playback
|
||||
status = AudioDeviceAddIOProc(outputDevice, QuartzAudioIOProc, &data);
|
||||
AudioDeviceIOProcID sInputIOProcID = NULL;
|
||||
status = AudioDeviceCreateIOProcID( outputDevice, QuartzAudioIOProc, NULL, &sInputIOProcID );
|
||||
if (status) {
|
||||
ErrorF("QuartzAudioInit: AddIOProc returned %ld\n", (long)status);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue