Re: When to stop/start/reinitialize an AUGraph?
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