src/audio/macosx/SDL_coreaudio.c
changeset 2738 79c1bd651f04
parent 2281 6359f74f3170
child 2859 99210400e8b9
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 :