You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I've wrapped cAudio with a singleton manager that uses the audiomanager with the threaded update feature.
The interface that I inherit from IManagerEventHandler.h includes the virtual functions that can be overridden like "onUpdate()" but cAudioManager.cpp never actually fires the events although it does handle them all.
The fix is very simple, just one line, and I'll be happy to create a pull request from what I've modified to make it work in my case. However, I'm curious to hear if there's something obvious that I've missed with how this is supposed to work or whether it's always been left unimplemented for some reason.
In case you're interested, my wrapper has a music playlist which needs to be advanced at the end of a song and does things like fade outs when notified by the game engine thread. That's why I need to get the update event firing.
Cheers and thanks for cAudio!
The text was updated successfully, but these errors were encountered:
Hi all,
I've wrapped cAudio with a singleton manager that uses the audiomanager with the threaded update feature.
The interface that I inherit from IManagerEventHandler.h includes the virtual functions that can be overridden like "onUpdate()" but cAudioManager.cpp never actually fires the events although it does handle them all.
The fix is very simple, just one line, and I'll be happy to create a pull request from what I've modified to make it work in my case. However, I'm curious to hear if there's something obvious that I've missed with how this is supposed to work or whether it's always been left unimplemented for some reason.
In case you're interested, my wrapper has a music playlist which needs to be advanced at the end of a song and does things like fade outs when notified by the game engine thread. That's why I need to get the update event firing.
Cheers and thanks for cAudio!
The text was updated successfully, but these errors were encountered: