Sound Channels

Monkey Forums/Monkey Beginners/Sound Channels

Xyle(Posted 2014) [#1]
Hello!
I have been looking for anything that shows how to set or get a sounds channel for modifying the sound or checking its state.

I've looked all through the docs and searched through the forums but can't seem to find anything on this.

for example if you want to resume a paused sound, you need the channel of that sound to do so, but I haven't seen a way to retrieve this.

Any help would be greatly appreciated!!

Thanks!


erebel55(Posted 2014) [#2]
Search for ChannelState, PauseChannel, and ResumeChannel in the documentation (mojo.audio)


Xyle(Posted 2014) [#3]
Thats the problem,

I can see where it shows how to pause, resume, pan etc on the sounds, but you need the channel in order to do those things.

How do you get the channel of a sound? Or how do you set the channel of a sound?

Thanks for the input!


Xyle(Posted 2014) [#4]
Ahhhhh!

The sound channel gets set when you use PlaySound(Sound, CHANNEL, flags)

Awesome!

Thanks for the help!


erebel55(Posted 2014) [#5]
Yep, glad you figured it out :)