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

Quick converter question from a CA newbie


  • Subject: Quick converter question from a CA newbie
  • From: Jaime Magiera <email@hidden>
  • Date: Thu, 17 Jan 2008 14:05:37 -0500

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?

My concern is that the users are running the recording application at the same time they are using various iApps. So, there's not a lot memory resources laying around. On the other hand, they don't want to spend the time doing post-record conversion, have concerns about file size during and after recording? It's a balancing act.

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


  • Follow-Ups:
    • Re: Quick converter question from a CA newbie
      • From: Jaime Magiera <email@hidden>
  • Prev by Date: Late MIDI note events in Logic & GarageBand
  • Next by Date: Re: How to programmatically change the default sound output device?
  • Previous by thread: Late MIDI note events in Logic & GarageBand
  • Next by thread: Re: Quick converter question from a CA newbie
  • Index(es):
    • Date
    • Thread