# ChangeBroadcaster / ChangeListener oddity in Wavelab

**URL:** <https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342>\
**Category:** Audio Plugins\
**Created:** [June 2, 2010, 10:43pm UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342 "2010-06-02T22:43:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinxz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/vinxz/32/6177_2.png) [@vinxz](https://forum.juce.com/u/vinxz)\
**Post date:** [June 2, 2010, 10:43pm UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342/1 "2010-06-02T22:43:36Z")

</div>

Hi,  
I have a strange problem in a plugin.  
Everything works well in all MAC / PC Formats (included RTAS) in all sequencers, excepted Wavelab.  
Actually, calling sendChangeMessage in the Audio thread never ends up to call changeListenerCallback in the UI thread… :?  
Do others have this problem ?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [June 3, 2010, 8:17am UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342/2 "2010-06-03T08:17:27Z")

</div>

TBH, calling sendChangeMessage in the audio thread is probably a bad idea - it has to call OS functions to post the message, so could potentially block/glitch. Best avoided if possible.

---

<div class="post-metadata">

**Author:** ![vinxz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/vinxz/32/6177_2.png) [@vinxz](https://forum.juce.com/u/vinxz)\
**Post date:** [June 3, 2010, 11:04am UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342/3 "2010-06-03T11:04:20Z")

</div>

hum, okay.  
How else should I notice the UI thread that a new preset have been loaded, or that a paremeter have been sent by the host ? (to update the knob positions)

---

<div class="post-metadata">

**Author:** ![vinxz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/vinxz/32/6177_2.png) [@vinxz](https://forum.juce.com/u/vinxz)\
**Post date:** [June 3, 2010, 11:27am UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342/4 "2010-06-03T11:27:55Z")

</div>

okay, I’ve seen the new plugin example. I’ll use a timer…sorry !

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [June 3, 2010, 11:56am UTC](https://forum.juce.com/t/changebroadcaster-changelistener-oddity-in-wavelab/5342/5 "2010-06-03T11:56:51Z")

</div>

It’s the sort of thing that you’d probably get away almost all the time, but in a serious plugin you’d want to avoid possible problems like that.
