• 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: When to stop/start/reinitialize an AUGraph?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When to stop/start/reinitialize an AUGraph?


  • Subject: Re: When to stop/start/reinitialize an AUGraph?
  • From: William Stewart <email@hidden>
  • Date: Thu, 21 Oct 2010 17:04:26 -0700

On Oct 20, 2010, at 7:25 AM, Zachary Kulis wrote:

> Hi everyone,
>
> I was wondering if anyone could provide some information on exactly when
> it is necessary to stop, uninitialize, re-initialize, and restart an
> audio graph.
>
> For example, is it necessary to perform these steps when:
>
> a) Changing the audio session category

possibly - if you are adding or removing input or output and you are using that, then you would need to do this. If you aren't changing the basic features you are using, then you don't

> b) Enabling Bluetooth input

no

> c) Changing the "enable mixable audio" setting

no

> d) Changing the "EnableIO" setting on an I/O audio unit

see (a)

>
> I have performed significant stress testing, and have discovered that
> performing a full stop, reinitialization, and restart of an audio graph
> when using the VoiceProcessingIO unit is quite problematic. By
> repeatedly looping the above (stop, un-init, re-init, start), eventually
> the AUGraphInitialize returns a -50 error.  The issue does not occur
> with the RemoteIO unit.

A bug report would be helpful with your code. We would like to understand this issue better

Bill

>
> I realize that these issues may stem from a bug in the VPIO unit --

well, lets see shall we

> however, I am looking for a quick workaround. If I can eliminate an
> unnecessary reinitialization and restart of the audio graph for (a)-(d)
> above, then I think the issue will be solved.
>
> Thanks very much in advance!
>
> Zach
> _______________________________________________
> 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: 
 >When to stop/start/reinitialize an AUGraph? (From: Zachary Kulis <email@hidden>)

  • Prev by Date: Re: AudioDeviceID and IOBluetoothDevice
  • Next by Date: Re: hiccups in AUGraph
  • Previous by thread: When to stop/start/reinitialize an AUGraph?
  • Next by thread: MultiChannel Mixer on Snow Leopard, no errors but no sound
  • Index(es):
    • Date
    • Thread