get audio handle-name

Hi,

I have written my own audio module to extend the built-in library with some useful functions.

Is there any way to get the handle name from a specific channel?

There is already a function which checks if the channel is playing and I want to do another check and ask if the active channel is playing the same sound…

Best,

Max / CineTek

Bump :slight_smile:

Hi Max,

I don’t believe there’s a built-in way to do this, but in theory you could create a simple mapping system, yes? Just a table with 32 entries (max number of channels), and then when you use a handle, gather the channel it’s playing on and assign that to the mapping index.

Brent

Hi Brent,

thank you very much. I modified the module and added something like this :slight_smile:

Max

Bump :slight_smile:

Hi Max,

I don’t believe there’s a built-in way to do this, but in theory you could create a simple mapping system, yes? Just a table with 32 entries (max number of channels), and then when you use a handle, gather the channel it’s playing on and assign that to the mapping index.

Brent

Hi Brent,

thank you very much. I modified the module and added something like this :slight_smile:

Max