CoreAudio driver works on Mac OSX 10.1
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40937
This commit is contained in:
parent
35c8da7adb
commit
0ac2cf1847
4 changed files with 6 additions and 28 deletions
|
@ -77,7 +77,7 @@ static AudioBootStrap *bootstrap[] = {
|
|||
#ifdef __BEOS__
|
||||
&BAUDIO_bootstrap,
|
||||
#endif
|
||||
#ifdef COREAUDIO_SUPPORT
|
||||
#ifdef MACOSX
|
||||
&COREAUDIO_bootstrap,
|
||||
#endif
|
||||
#if defined(macintosh) || TARGET_API_MAC_CARBON
|
||||
|
|
|
@ -144,7 +144,7 @@ extern AudioBootStrap Paud_bootstrap;
|
|||
#ifdef __BEOS__
|
||||
extern AudioBootStrap BAUDIO_bootstrap;
|
||||
#endif
|
||||
#ifdef COREAUDIO_SUPPORT
|
||||
#ifdef MACOSX
|
||||
extern AudioBootStrap COREAUDIO_bootstrap;
|
||||
#endif
|
||||
#if defined(macintosh) || TARGET_API_MAC_CARBON
|
||||
|
|
|
@ -165,7 +165,7 @@ Uint8 *Core_GetAudioBuf(_THIS)
|
|||
void Core_CloseAudio(_THIS)
|
||||
{
|
||||
OSStatus result;
|
||||
AudioUnitInputCallback callback;
|
||||
struct AudioUnitInputCallback callback;
|
||||
|
||||
/* stop processing the audio unit */
|
||||
result = AudioOutputUnitStop (outputAudioUnit);
|
||||
|
@ -209,7 +209,7 @@ int Core_OpenAudio(_THIS, SDL_AudioSpec *spec)
|
|||
OSStatus result = noErr;
|
||||
Component comp;
|
||||
ComponentDescription desc;
|
||||
AudioUnitInputCallback callback;
|
||||
struct AudioUnitInputCallback callback;
|
||||
AudioStreamBasicDescription requestedDesc;
|
||||
|
||||
/* Setup a AudioStreamBasicDescription with the requested format */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue