determining buffer size after setting sample rate.
determining buffer size after setting sample rate.
- Subject: determining buffer size after setting sample rate.
- From: "Daniel Walton" <email@hidden>
- Date: Thu, 20 Feb 2003 11:44:30 -0800
I understand that the number of frames that an AUCallback asks for will change
as you change the sample rate of a default audio output unit. Is there a way
to determine what this number will be before the callback?
I have tried setting the sample rate with AudioUnitSetProperty using the
kAudioUnitProperty_StreamFormat flag, I then ask for the
kAudioDevicePropertyBufferFrameSize using the deviceID. However this simply
gives me the buffer size of the hardware device.
dan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.