• 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: Bug in AUEventListener?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in AUEventListener?


  • Subject: Re: Bug in AUEventListener?
  • From: William Stewart <email@hidden>
  • Date: Mon, 01 Nov 2004 10:58:38 -0800

For more detail and a workaround:
Bug: AUEventListener does not handle kAudioUnitEvent_ParameterValueChange
events correctly

Events aren't still in the queue, as Urs hypothesizes.  When listening
to ParameterValueChange events using the AUEventListener mechanism, the
remove-listener API does not take listeners out of its
object-notification queue -- so future notifications are being sent to
stale objects.

The workaround for the problem is to use AUEventListener only
for ParameterBegin and End notifications, and use a separate
AUParameterListener instead of kAudioUnitEvent_ParameterValueChange for
parameter value changes.

Best,
Luke

Urs,

Let me know if this works for you and we'll write this up as a tech note.

On 1/11/04 10:40 AM, "Doug Wyatt" <email@hidden> wrote:

> On Oct 30, 2004, at 14:11, Urs Heckmann wrote:
>> My current guess is, that if the AUEventListener is disposed, some
>> events might still be in the queue, and on re-install *before*
>> something magical in the RunLoop ditches them some undefined behaviour
>> occurrs. Dunno.
>
> Excellent guess :-/
>
>> So, is that only me or is it a bug in the Listener stuff?
>
> It's not only you. This was isolated and fixed perhaps a month ago.
>
> Doug
>
>  _______________________________________________
> 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

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________



 _______________________________________________
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: Bug in AUEventListener?
      • From: Urs Heckmann <email@hidden>
References: 
 >Re: Bug in AUEventListener? (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: Bug in AUEventListener?
  • Next by Date: Re: Bug in AUEventListener?
  • Previous by thread: Re: Bug in AUEventListener?
  • Next by thread: Re: Bug in AUEventListener?
  • Index(es):
    • Date
    • Thread