Mercurial > sdl-ios-xcode
comparison src/audio/macosx/SDL_coreaudio.c @ 2738:79c1bd651f04
Fixed a bunch of compile warnings on Mac OS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 Sep 2008 16:04:20 +0000 |
parents | 6359f74f3170 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2737:140a7edcf2bd | 2738:79c1bd651f04 |
---|---|
416 { | 416 { |
417 OSStatus result = noErr; | 417 OSStatus result = noErr; |
418 AURenderCallbackStruct callback; | 418 AURenderCallbackStruct callback; |
419 ComponentDescription desc; | 419 ComponentDescription desc; |
420 Component comp = NULL; | 420 Component comp = NULL; |
421 int use_system_device = 0; | |
422 UInt32 enableIO = 0; | 421 UInt32 enableIO = 0; |
423 const AudioUnitElement output_bus = 0; | 422 const AudioUnitElement output_bus = 0; |
424 const AudioUnitElement input_bus = 1; | 423 const AudioUnitElement input_bus = 1; |
425 const AudioUnitElement bus = ((iscapture) ? input_bus : output_bus); | 424 const AudioUnitElement bus = ((iscapture) ? input_bus : output_bus); |
426 const AudioUnitScope scope = ((iscapture) ? kAudioUnitScope_Output : | 425 const AudioUnitScope scope = ((iscapture) ? kAudioUnitScope_Output : |