[−][src]Trait glk::traits::Sound2
GLK_MODULE_SOUND2
Required methods
fn schannel_create_ext(&mut self, rock: u32, volume: u32) -> schanid_t
Create a sound channel, giving the initial volume.
fn schannel_play_multi(
&mut self,
chanarray: &[schanid_t],
sndarray: &[u32],
notify: u32
) -> u32
&mut self,
chanarray: &[schanid_t],
sndarray: &[u32],
notify: u32
) -> u32
Play multiple sounds at the same time on multiple channels. Optionally notify on
- completion.
fn schannel_pause(&mut self, chan: schanid_t)
Pause playing on a channel.
fn schannel_unpause(&mut self, chan: schanid_t)
Unpause playing on a channel.
fn schannel_set_volume_ext(
&mut self,
chan: schanid_t,
vol: u32,
duration: u32,
notify: u32
)
&mut self,
chan: schanid_t,
vol: u32,
duration: u32,
notify: u32
)
Set volume of a channel with duration (fade in or out) and optional notification.