I want to send messages from a class A to a class B. My class B contains a audioDeviceCallback function where I want to send messages to my class A. For example the class A needs to know some audio information to update a VU Meter, or when the audio callback has stopped.
Both class herits from MessageListener. I know I have to use a MessageManager to make it work, but I don’t know how and I didn’t find anything about it. Could someone show me an example, or explain me the way to make it work? Thanks a lot.