Additional question: if I’m supposed to use FMOD::Channel API for playback control, how can I get the proper Channel to use ?
I have a bus setup in FMOD studio called “Track”. I tried to call getBus("bus:/Track", &myBus) and then trackBus->GetChannelGroup(&myChannelGroup) but:
- calling it before I start playing the Event fails (which is normal from what I understand, as it’s the only Event on the bus and channels are created only when needed)
- calling it in the Event callback when the programmer sound is created works, but checking
myChannelGroup->getName()returns “Master”, which is odd, and also I don’t know how to get the proper Channel from the ChannelGroup - using
EventInstance->getChannelGroup()from the callback also works, but the ChannelGroup name is also “Master” (and same question about how to get the Channel from the group)