Crate it2play_rs
Source - IT2Driver
- Impulse Tracker 2 drivers. Currently there’s a
Sound Blaser 16 emulated thingy and a high quality driver, supporting stereo samples.
- free
- Frees memory after playing a song.
- generate_stream
- Generates a cpal stream.
- load_bytes
- Loads a module from a stream of bytes.
Due to the way it2play is designed, you can only load one module at a time.
For example:
- play
- Plays a module at the order specified.
If a module is currently playing,
Music_Stop() will be called by it2play before attempting to play the module. - set_global_volume
- Sets
Song.GlobalVolume – should be an integer between 0 and 128 - stop
- Stops a module from playing.