equal
deleted
inserted
replaced
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 : |