• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
getting 22050 Hz sample rate on Bronze PowerBook G3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: getting 22050 Hz sample rate on Bronze PowerBook G3
      • From: "Laurent" <email@hidden>
    • Re: getting 22050 Hz sample rate on Bronze PowerBook G3
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Raw audio packaging
  • Next by Date: Cocoa And AudioUnits
  • Previous by thread: Re: How do I get MIDIServer to load my MIDI Driver?
  • Next by thread: Re: getting 22050 Hz sample rate on Bronze PowerBook G3
  • Index(es):
    • Date
    • Thread