Decode more of the sound data in a Sound_Sample.
Defined in <SDL3_sound/SDL_sound.h>
Uint32 Sound_Decode(Sound_Sample *sample);| Sound_Sample * | sample | Do more decoding to this Sound_Sample. |
(Uint32) Returns number of bytes decoded into sample->buffer.
It will decode at most sample->buffer_size bytes into
sample->buffer in the desired format, and return the
number of decoded bytes.
If sample->buffer_size bytes could not be decoded,
then please refer to sample->flags to determine if this
was an end-of-stream or error condition.
It is safe to call this function from any thread, but a single Sound_Sample should not be accessed from two threads at the same time.
This function is available since SDL_sound 1.0.0.