Hi! Not sure if I have missed this in the API documentation. Is there a way to get a list of the assets currently being used by an event? For example, a music event contains 3 tracks with multi-instruments, each one playing a random sound from a possible 4. How could we get the names of these currently playing sounds?
Thanks!
The best way to get the name of the file playing through an Event would be to use the FMOD_STUDIO_EVENT_CALLBACK_SOUND_PLAYED callback.
This will trigger when a new Sound is played from the multi-instrument in the Event, from there you can access the Sound->getName().
Take a look at our Programmer Sound example in the Studio API examples for a similar use of callbacks.