[][src]Function music::start

pub fn start<M: Eq + Hash + 'static + Any, S: Eq + Hash + 'static + Any, F: FnOnce()>(
    num_sound_channels: i32,
    f: F
)

Creates SDL context and starts the audio context

  • num_sound_channels: The number of concurrent sound channels to allocate. This limits the number of sounds that can be played simultaneously.