summaryrefslogtreecommitdiff
path: root/src/audio/player.c
AgeCommit message (Collapse)Author
2020-10-16Player: Hide volume slider after 3 sec idle timeJaakko Keränen
2020-10-16Player: Fixed build with older version of mpg123Jaakko Keränen
2020-10-15Player: Parsing Vorbis and MP3 metadataJaakko Keränen
2020-10-15Player: Streaming MP3 playbackJaakko Keränen
Feed more MPEG input bitstream as it comes in.
2020-10-14Use libmpg123 to decode MPEG audioJaakko Keränen
mpg123 is configured as an optional dependency. Works for full files currently.
2020-10-14Player: Volume adjustment UIJaakko Keränen
2020-10-09Support Ogg Vorbis audioJaakko Keränen
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.
2020-10-09CleanupJaakko Keränen
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
2020-10-09Fixed memory leak on tab closeJaakko Keränen
The DocumentWidget was not actually deleted when a tab was closed, only hidden.
2020-10-08Player: Total input sizeJaakko Keränen
2020-10-07Drawing an audio player UIJaakko Keränen
2020-10-06Updating media contentJaakko Keränen
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.
2020-10-06WAV: 24-bit PCM, float 32/64; fixed audio issuesJaakko Keränen
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.
2020-10-04Playing back a WAV fileJaakko Keränen
Simple test case works now: loading a 16-bit stereo PCM WAV from a file (i.e., no streaming) and playing it back.
2020-10-04Working on audio playbackJaakko Keränen
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
2020-10-01Player: Setting up the audio outputJaakko Keränen
2020-09-29Added stub for audio playerJaakko Keränen