• 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
Audio Stops when SubGraph reconnects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Stops when SubGraph reconnects


  • Subject: Audio Stops when SubGraph reconnects
  • From: Russ Fellman <email@hidden>
  • Date: Wed, 4 Mar 2009 15:39:32 -0500

I am having an issue with dsconnecting and reconnecting a subgraph to the main graph.

It is laid out this way...

SG 1 --------\
                    ------Mixer-----Output---
SG 2 --------/

SG 1 is FilePlayer ----- Generic Output
SG 2 is FilePlayer ----- Generic Output

When I disconnect and reconnect, the sound stops, then returns, just as I would expect.
However, when I disconnect it for longer than about 3 seconds, It doesnt return. Any thoughts
on why this problem is occuring?

Here is my Disconnect and Reconnect

-(void)disconnect{
AUGraphDisconnectNodeInput(myGraph, mNode, 0);
AUGraphUpdate(myGraph, NULL);
}

-(void)reconnect{
AUGraphConnectNodeInput(myGraph, sgNode, 0, mNode,0);
AUGraphUpdate(myGraph, NULL);
}

SG node is the node that references the subgraph
 _______________________________________________
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: Audio Stops when SubGraph reconnects
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: CAClockSetCurrentTime Help
  • Next by Date: Re: CAClockSetCurrentTime Help
  • Previous by thread: Re: Question about ExtAudioFileOpenURL
  • Next by thread: Re: Audio Stops when SubGraph reconnects
  • Index(es):
    • Date
    • Thread