• 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
Different ways of obtaining AudioUnit instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Different ways of obtaining AudioUnit instance


  • Subject: Different ways of obtaining AudioUnit instance
  • From: Pier <email@hidden>
  • Date: Tue, 11 Dec 2012 20:47:13 +0800

How is this way : 

AUGraphNodeInfo (theGraph, remoteIONode, 0, &_remoteIOUnit);


Different from : 


AudioComponent inputComponent = AudioComponentFindNext(NULL, &cd);

result = AudioComponentInstanceNew(inputComponent, &_remoteIOUnit);


I have an error with the 2nd method when I'm asking for a VPIO object. 
The first one works fine but according to a post I saw on stackoverflow it says I need to do AudioComponentInstanceDispose(_remoteIOUnit); 
to properly clear out the vpio instance properly. I suspect this has got to do with my recording volume issue when i switch from vpio back to remoteio.

It gives me the following error when iniitialising the AUGraph

<com.apple.main-thread> AURemoteIO::Initialize failed: -66635 (enable 3, outf< 1 ch,  44100 Hz, Int16> inf< 1 ch,  44100 Hz, Int16>)



Thanks in advance!

--
Pier.
 _______________________________________________
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: Re: "Learning Core Audio" Sample Code Chapter 8
  • Next by Date: Re: ScheduledAudioFileRegion.mCompletionProc
  • Previous by thread: Re: "Learning Core Audio" Sample Code Chapter 8
  • Next by thread: audio queue and progressive download
  • Index(es):
    • Date
    • Thread