• 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
Recording from Mic and sending to mixer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recording from Mic and sending to mixer


  • Subject: Recording from Mic and sending to mixer
  • From: Nauman Sulaiman <email@hidden>
  • Date: Thu, 11 Nov 2010 08:37:18 +0000 (GMT)

Hi, i have the following AUGraph on IPhone 4 SDK device 3GS

MIc--> RIO ----> Mixer1


I use the following code to connect the RIO input to Mixer1.

result = AUGraphConnectNodeInput (processingGraph, iONode,   1, mixerNode1,  1 );

I also have another callback on Mixer1 to get some audio i need to mix with the recorded audio. When i call AudioUnitRender on the output of Mixer1 in my app  the callback for Mixer1 gets called but the resultant output samples do not contain the audio from the mic which has been wired with direct connection to mixer, only the samples filled in by callback.

Am i right in thinking this won't work with direct connection. Do i need to setup separate callback for the output of INPUT of the RIO and call AudioUnitRender directly on this put the samples in a buffer and then read in  a callback of the mixer?

I would ideally like to do this with a direct connection which would save copying into buffer and reading out but need to know if this is actually possible.

Thanks



 _______________________________________________
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

  • Prev by Date: Base SDK=10.6 and Deplyoment Target=10.5 crashes AU plug ins on 10.5.8?
  • Next by Date: Re: [iOS]More on recording
  • Previous by thread: Re: Base SDK=10.6 and Deplyoment Target=10.5 crashes AU plug ins on 10.5.8?
  • Next by thread: AU - Embedding Cocoa Window in Carbon WindowRef
  • Index(es):
    • Date
    • Thread