• 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: Proper way for stopping a graph from it's renderInput callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper way for stopping a graph from it's renderInput callback


  • Subject: Re: Proper way for stopping a graph from it's renderInput callback
  • From: William Stewart <email@hidden>
  • Date: Mon, 12 Jul 2010 12:46:27 -0700

On Jul 11, 2010, at 11:17 PM, Guy Shaviv wrote:

> I'm wondering what is the proper way to stop a graph from playing from within it's render input or render notification callbacks. I tried calling AUGraphStop from my render input callback but that seems to have no effect.

Do you mean that it doesn't stop the graph?

> What I'm doing now is filling the buffer with silence

you will have to do that for at least the current cycle as the device is "still running" at that point.

> and scheduling a call to AUGraphStop from the main thread. But it seems like there must be a better way then what I'm doing.

yes, this doesn't seem correct to me

>
> 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

 _______________________________________________
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: Proper way for stopping a graph from it's renderInput callback
      • From: Guy Shaviv <email@hidden>
    • Re: Proper way for stopping a graph from it's renderInput callback
      • From: Guy Shaviv <email@hidden>
References: 
 >Proper way for stopping a graph from it's renderInput callback (From: Guy Shaviv <email@hidden>)

  • Prev by Date: Re: AVAudioSession endInterruption not received
  • Next by Date: Re: USB audio driver: one engine, two streams.
  • Previous by thread: Proper way for stopping a graph from it's renderInput callback
  • Next by thread: Re: Proper way for stopping a graph from it's renderInput callback
  • Index(es):
    • Date
    • Thread