pub unsafe extern "C" fn ndspChnWaveBufAdd(
    id: c_int,
    buf: *mut ndspWaveBuf
)
Expand description

Adds a wave buffer to the wave buffer queue of a channel.

If the channel’s wave buffer queue was empty before the use of this function, playback is started.

§Arguments

  • id - ID of the channel (0..23).
  • buf - Wave buffer to add.