• 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
iPhone: Microphone and Mixer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone: Microphone and Mixer


  • Subject: iPhone: Microphone and Mixer
  • From: Paul Slocum <email@hidden>
  • Date: Wed, 6 Oct 2010 23:18:44 -0400

I'm trying to record from the microphone and play audio at the same
time.  I'm using a RemoteIO and a 3DMixer unit.  My question is: how
do I configure the two audio units to do this?  I can get the 3dmixer
and the microphone to work separately, but not together.

My current design is to hook up the mixer's output to the RemoteIO
input 0 and handle the RemoteIO's microphone data in one of the mixer
input callbacks using AudioUnitRender.  However, when I call
AudioUnitRender from the mixer callback to get the microphone data, I
just get garbage.  I can't figure out why.  When I disable the mixer
and set a callback on the RemoteIO's input, the microphone data that I
grab with AudioUnitRender is correct.  Why do I get garbage when I try
to read the microphone data from the mixer callback?

PS: I am using kAudioSessionCategory_PlayAndRecord

-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

  • Follow-Ups:
    • Re: iPhone: Microphone and Mixer
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Cocoa UI not loading
  • Next by Date: Direction confusion
  • Previous by thread: How to re-start an AUGraph() ?
  • Next by thread: Re: iPhone: Microphone and Mixer
  • Index(es):
    • Date
    • Thread