Any message convery method in juce to satisfy my app?


#1

Hi, jules
How are you?
does juce provide some way to send messages to other functions quickly?
I want to use method in AudioDeviceIOCallback(). when some condition meets, send some message to invoke other functions. Like action script, and other functions listen to it, and get invoked.

Thank!
Leon


#2

Hi,
You can use ActionListener or ChangeListener.

  1. ActionListener -> you can pass strings
  2. ChangeListener -> you can pass objects.

The choice is yours. :slight_smile:


#3

Hi, jules
thanks!


#4

My name is vishvesh and not jules. :evil:


#5

hi,vishvesh

Thanks!

Cheers!
leon


#6

I had said that in jest. :slight_smile: . It’s a pleasure.