Is there any way to control a Sample?
- Change its volume
- Stop it
It would be very useful, since you only can do it on songs, and you only can have 1 song playing at once.
Yes. Sample::play returns a SampleInstance
object which you can use to do just that, i.e. pausing, resuming, changing volume etc.
Powered by mwForum 2.29.0 © 1999-2013 Markus Wichitill