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

Re: iPhone: Microphone and Mixer


  • Subject: Re: iPhone: Microphone and Mixer
  • From: William Stewart <email@hidden>
  • Date: Tue, 12 Oct 2010 17:55:58 -0700

There seems to be a mismatch in the format of the audio that you are getting from the remote IO and the format of the audio you are providing to the 3D mixer. Check that they are both the same format (StreamFormat property).

The example code from WWDC this year sets up a scenario very similar to this

BIll

On Oct 6, 2010, at 8:18 PM, Paul Slocum wrote:

> 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

 _______________________________________________
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: 
 >iPhone: Microphone and Mixer (From: Paul Slocum <email@hidden>)

  • Prev by Date: Re: AudioFileClose() crashing on iOS after playback
  • Next by Date: Re: Using core audio for export
  • Previous by thread: iPhone: Microphone and Mixer
  • Next by thread: Direction confusion
  • Index(es):
    • Date
    • Thread