This function must be called by derived classes as soon as they know the
audio settings of the stream to play. Any attempt to manipulate the
stream (play(), ...) before calling this function will fail. It can be
called multiple times if the settings of the audio stream change, but
only when the stream is stopped.
Define the audio stream parameters.
This function must be called by derived classes as soon as they know the audio settings of the stream to play. Any attempt to manipulate the stream (play(), ...) before calling this function will fail. It can be called multiple times if the settings of the audio stream change, but only when the stream is stopped.