• 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
Flush existing sound data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flush existing sound data?


  • Subject: Flush existing sound data?
  • From: Hari Seldon <email@hidden>
  • Date: Tue, 29 Aug 2006 21:08:46 -0400


Currently I'm using the inputProc of a AUConverter to give interleaved sound data to a graph (converter to mixer to default output device). When I want to stop playback I use AUGraphDisconnectNodeInput to remove my AUConverter node from the graph, and follow it with an AUGraphUpdate call. When I want to start playback I simply use AUGraphConnectNodeInput and AUGraphUpdate to reconnect the AUConverter to the graph.


The problem I'm having is that I need to figure out a way to "reset" playback. Basically while the AUConverter is disconnected I would like to make sure all existing data is "flushed" out of it, so that when I want to start playback again it's all newly written data, and none of the data that was there before I removed the node from the graph.

Is there an easy way to Reset or Flush the input on the AUConverter?

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


  • Follow-Ups:
    • Re: Flush existing sound data?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: InputCallbacks and buffer size
  • Next by Date: Re: Audio Units: calling SetParameter from within Process()
  • Previous by thread: Re: was: HELP!
  • Next by thread: Re: Flush existing sound data?
  • Index(es):
    • Date
    • Thread