Construct a new audio stream with the given parameters.
The sample rate of the audio data, in Hz.
The number of bits per sample.
Number of independent audio channels in the audio data.
Pause playback of this audio stream.
Play this audio stream on a given mixer. If the stream is paused and a mixer is not specified, resume playback from the paused position.
Stop playback and discard any unplayed data in the stream buffer.
Write new audio data to the end of the stream buffer. Can (and should!) be called during active playback.
Buffer containing audio data to feed into the stream.
Generated using TypeDoc
Provides a stream-like interface for playing raw audio data.