getting 22050 Hz sample rate on Bronze PowerBook G3
getting 22050 Hz sample rate on Bronze PowerBook G3
- Subject: getting 22050 Hz sample rate on Bronze PowerBook G3
- From: "Phil Burk" <email@hidden>
- Date: Wed, 20 Mar 2002 11:04:50 -0800
I am developing an implementation of PortAudio for Mac OS X CoreAudio.
(PortAudio is a free open-source cross platform audio API for Windows, Mac,
Linux, BeOS, Solaris, SGI, etc.) I am really enjoying the low latencies of
CoreAudio and I like the CoreAudio API the best of all the systems I have
tried.
But I am having a problem with getting 22050 Hz sample rate on a Bronze
PowerBook G3. A rate of 22050 Hz is supported under OS 9 SoundManager but I
can't get it to work under OS X. I am testing for support using:
AudioDeviceGetProperty(deviceID, 0, isInput,
kAudioDevicePropertyStreamFormatSupported, &outSize,
&formatDesc );
It passes for 44100 but not for 22050 so I think I am making the call
correctly. Is it not supported because the device is shared?
Do I need to do the sample rate conversion myself, or is there something
simple that I am not understanding?
Phil Burk
http://www.portaudio.com/
_______________________________________________
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.