- Joined
- Dec 13, 2018
- Messages
- 384
Just an idea: should these values be defined as constants by CX eg PLAYING, STOPPED, PAUSED, UNKNOWN instead of having to define them (or use these magic numbers) in each program?
Function ChannelState : Int ( channel:Int )
Returns the state of the specified audio channel: 0 if the channel is currently stopped, 1 if the channel is currently playing, 2 if the channel is currently paused or -1 if the channel state cannot be determined.