Skip to main content

playing

Function playing 

Source
pub fn playing(ch: Channel) -> bool
Expand description

Whether a channel is still running.

A channel stops when a length timer set by Pulse::length and its counterparts expires, when its DAC goes off, or, on channel 1, when the sweep carries the pitch past the top.