Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Adam Jackson
xserver
Commits
a61a8d90
Commit
a61a8d90
authored
Nov 21, 2008
by
Jeremy Huddleston
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XQuartz: Resurrect the old audio path for Tiger
parent
799715b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
hw/xquartz/quartzAudio.c
hw/xquartz/quartzAudio.c
+5
-0
No files found.
hw/xquartz/quartzAudio.c
View file @
a61a8d90
...
...
@@ -47,6 +47,7 @@
#include <CoreAudio/CoreAudio.h>
#include <pthread.h>
#include <AvailabilityMacros.h>
#include "inputstr.h"
#include <X11/extensions/XI.h>
...
...
@@ -337,8 +338,12 @@ void QuartzAudioInit(void)
// fixme assert fadeLength<framesPerBuffer
// Prepare for playback
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
AudioDeviceIOProcID
sInputIOProcID
=
NULL
;
status
=
AudioDeviceCreateIOProcID
(
outputDevice
,
QuartzAudioIOProc
,
&
data
,
&
sInputIOProcID
);
#else
status
=
AudioDeviceAddIOProc
(
outputDevice
,
QuartzAudioIOProc
,
&
data
);
#endif
if
(
status
)
{
ErrorF
(
"QuartzAudioInit: AddIOProc returned %ld
\n
"
,
(
long
)
status
);
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment