• 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
AUGraph and AUFilePlayer Lifecycle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUGraph and AUFilePlayer Lifecycle


  • Subject: AUGraph and AUFilePlayer Lifecycle
  • From: alessandro aresta <email@hidden>
  • Date: Sun, 29 Jan 2012 17:19:09 +0100

Hi all; I'm dealing with a quite complex AUGraph and I'm trying to switch the file  an AUFilePlayer is playing; I did stop the AUGraph, Uninitialize it  and changed the filePath of the audioURL, opened the audioURL with 

AudioFileOpenURL but I do receive -50, Error: AudioUnitSetProperty[kAudioUnitProperty_ScheduledFileIDs] failed (-50) to be exact.

An almost similar method however is loading the file (the exact same file) into the AUFilePlayer unit in the setup procedure and everything is working smooth until I try to switch audio file.

My question is: what is the right procedure to change audio file for a instantiated AUFilePlayerUnit? does it also involve AUGraphDisconnectNodeInput to disconnect the Unit from the Mixer (yes I'm also using a mixer unit where the AUFilePlayer Unit is connected ) ?

Probably the answer is very easy and I'm too tired at the moment to hel myself.

tnx in advance 


--
Alessandro Alexander Stone Aresta



iOS / Web / Multimedia
development & consulting 

sharpeimultimedia.com

email  : email@hidden
skype : alexanderstone2007

This  is  a  confidential   communication   intended   only  for  the  named addressee. 
 If you received this communication in error, please notify us  and return and delete it without  reading it. 
This e-mail may not be 
disclosed,  copied or distributed
 in  any form without the obtained permission in writing of  SharpeiMultimedia. 
In  any case it  may not be altered or otherwise 
changed.  
 Whilst  SharpeiMultimedia believes  that  the   information  is  correct at  the date  of   the  e-mail,  no  warranty and 
representation  is given to this effect and no responsibility can be accepted by SharpeiMultimedia.


 _______________________________________________
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: MIDIPortConnectSource() freezing
  • Next by Date: Re: MIDIPortConnectSource() freezing
  • Previous by thread: Re: MIDIPortConnectSource() freezing
  • Next by thread: Identical Audio Unit Channel Layout for Input and Output
  • Index(es):
    • Date
    • Thread