kAudioUnitProperty_StreamFormat notification
kAudioUnitProperty_StreamFormat notification
- Subject: kAudioUnitProperty_StreamFormat notification
- From: Dominic Feira <email@hidden>
- Date: Mon, 18 Apr 2005 20:53:22 -0400
Hello.
What are the correct steps to handle a kAudioUnitProperty_StreamFormat notification on an input AUHAL?
Currently I am doing:
-- Get the input description from the AudioUnit
-- Get the output description from the AudioUnit
-- Set the output description's sample rate to be that of the new input description.
-- Set the output kAudioUnitProperty_StreamFormat of the AudioUnit to the new description with the correct sample rate.
Well, after doing the above, I no longer get any errors from the AudioUnitRender call, but it turns out that my callback is no longer being called. To test the handling of this notification I have just been changing the sample rate of the input device in HALLab.
I appreciate any help.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden