Age | Commit message (Collapse) | Author |
|
There was a crash open the context menu when the audio decoder is missing.
|
|
IssueID #169
|
|
The most serious problem was that GmRequest's response body was being accessed while the TlsRequest thread was modifying it.
Now the response must always be locked before accessing elsewhere.
There were also inefficient data updates in the media players.
|
|
|
|
|
|
|
|
Feed more MPEG input bitstream as it comes in.
|
|
mpg123 is configured as an optional dependency. Works for full files currently.
|
|
|
|
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.
|
|
|
|
|