• 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: converting buffer channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: converting buffer channels


  • Subject: Re: converting buffer channels
  • From: Michael Thornburgh <email@hidden>
  • Date: Wed, 16 May 2007 22:06:59 -0700


you indicated that you're using MTCoreAudio, so take a look at the "AudioBufferList Utility Functions" -- specifically MTAudioBufferListCopy(). also, if you're using MTAudioBuffers or MTConversionBuffers, they will do the right thing copying between AudioBufferLists with mismatched channel counts or stream layouts.


-mike


On May 15, 2007, at 10:21 PM, Paul Fredlein wrote:

Hi,

My cheap USB mic is one channel output but the headphones are two channels input. I'm playing with the "recordotron" sample code and have recorded x seconds of audio to a buffer when the buffer is played back it's double speed. How do I convert the existing buffer from 1 channel to 2 channels so it plays properly? All the sample code I've seen wants to convert on the fly as 'play thru'.

Regards,

Paul

_______________________________________________ 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: 
 >converting buffer channels (From: Paul Fredlein <email@hidden>)

  • Prev by Date: Re: AudioUnit Events
  • Next by Date: fixing user selected fonts in text track
  • Previous by thread: converting buffer channels
  • Next by thread: RFC 4695 and Network MIDI
  • Index(es):
    • Date
    • Thread