• 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
Re: getting 22050 Hz sample rate on Bronze PowerBook G3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting 22050 Hz sample rate on Bronze PowerBook G3


  • Subject: Re: getting 22050 Hz sample rate on Bronze PowerBook G3
  • From: "Laurent" <email@hidden>
  • Date: Wed, 20 Mar 2002 12:21:53 -0800

There is a sample code located in DefaultOutputSample (the one using SRC.)
It's pretty easy to insert a SRC audio unit to convert to the supported hw
features. If you don't output to what the hw support, then nada, zip,
nothing will come out.

LdS

----- Original Message -----
From: "Phil Burk" <email@hidden>
To: <email@hidden>
Sent: Wednesday, March 20, 2002 11:04 AM
Subject: getting 22050 Hz sample rate on Bronze PowerBook G3


> 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.
_______________________________________________
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.

References: 
 >getting 22050 Hz sample rate on Bronze PowerBook G3 (From: "Phil Burk" <email@hidden>)

  • Prev by Date: Re: Cocoa And AudioUnits
  • Next by Date: Re: Cocoa And AudioUnits
  • Previous by thread: Re: getting 22050 Hz sample rate on Bronze PowerBook G3
  • Next by thread: Cocoa And AudioUnits
  • Index(es):
    • Date
    • Thread