Age | Commit message (Collapse) | Author |
|
Playback starts as soon as possible, so one can listen while streaming.
stb_vorbis.c needed a tiny tweak to not die on a file without (Ogg? Vorbis?) comments.
|
|
Moved buffers out of player.c. Include MIME type with the data so the correct decoder can be chosen.
Added stb_vorbis: https://github.com/nothings/stb
|
|
The DocumentWidget was not actually deleted when a tab was closed, only hidden.
|
|
|
|
|
|
Making it possible for media to be partially updated, for streaming. Also fixed a problem with multiple concurrent audio players started on a single media item.
|
|
The decoder now waits only on two conditions: more input is needed, or when the output buffer is full. Previously there was a race condition that caused the decoder to randomly miss the first signal and not play anything.
|
|
Simple test case works now: loading a 16-bit stereo PCM WAV from a file (i.e., no streaming) and playing it back.
|
|
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
|
|
|
|
|