• 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: Quick converter question from a CA newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick converter question from a CA newbie


  • Subject: Re: Quick converter question from a CA newbie
  • From: William Stewart <email@hidden>
  • Date: Tue, 22 Jan 2008 18:56:03 -0800

You can just create an audio converter with the input sample rate of your source and the desired output sample rate of the AAC bitstream (this will limit some of the bit rates you can chose).

On Jan 17, 2008, at 1:21 PM, Jaime Magiera wrote:


On Jan 17, 2008, at 2:05 PM, Jaime Magiera wrote:

Hello,

I'm noticing in some code I inherited that the previous developer was just creating a converter asbd using the device's default sampling rate. Obviously, this is not useful for true conversion. I'm looking to do PCM 48000 -> PCM 22050 -> AAC 22050 in real time. What is the most efficient CoreAudio strategy for sample conversion on encoding? Do folks generally create create two ExtendedAudioFile, using a callback in real time to read from file A to file B? Or do it in buffers? In general, is there an example of using two converters inline?

Sorry, I should clarify... I edited the email for brevity and lost some things in the translation: I do mean graduated downsampling. No aliasing :)


Perhaps it's an assumption on my part that anyone is doing this. I just noticed even QuickTime Player's recording feature uses the device sampling rate for the AAC.

Is anyone doing realtime conversion for AAC?

thanks,

Jaime Magiera

Sensory Research
http://www.sensoryresearch.net
_______________________________________________
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

_______________________________________________ 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
References: 
 >Quick converter question from a CA newbie (From: Jaime Magiera <email@hidden>)
 >Re: Quick converter question from a CA newbie (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Playing "silence" to an AudioQueue (with VBR format)
  • Next by Date: Re: Doing playthru, using AudioQueue
  • Previous by thread: Re: Quick converter question from a CA newbie
  • Next by thread: Re: Recommended way to setup a timer in a CoreAudion application
  • Index(es):
    • Date
    • Thread