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

Re: Audio Stops when SubGraph reconnects


  • Subject: Re: Audio Stops when SubGraph reconnects
  • From: William Stewart <email@hidden>
  • Date: Wed, 4 Mar 2009 17:32:36 -0800

your file player has lost its idea of where it is - you will need to reset it before you connect it up again.

On Mar 4, 2009, at 12:39 PM, Russ Fellman wrote:

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

_______________________________________________ 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: 
 >Audio Stops when SubGraph reconnects (From: Russ Fellman <email@hidden>)

  • Prev by Date: QA1562 offline audio rendering advice
  • Next by Date: Re: QA1562 offline audio rendering advice
  • Previous by thread: Audio Stops when SubGraph reconnects
  • Next by thread: QA1562 offline audio rendering advice
  • Index(es):
    • Date
    • Thread