summaryrefslogtreecommitdiff
path: root/src/audio
AgeCommit message (Collapse)Author
2021-12-14Audio: Initialize SDL audio only when actually playingJaakko Keränen
Playing audio is somewhat uncommon, so there is no need to have it set up always.
2021-06-11iOS: Audio remote control, Now Playing infoJaakko Keränen
Update the basic Now Playing info about the currently playing music, and respond to remote control commands. Seems to work with MP3 but not other audio formats, probably because those are played via custom decoders. There must be some API for updating the playback status manually.
2021-06-10Media: Estimate memory useJaakko Keränen
In-memory images, audio, and downloads are included in RAM usage in Debug Information.
2021-04-25iOS: Fixed audio issuesJaakko Keränen
Fighting with ARC, and increased the audio sample buffer size to reduce wakeups.
2021-04-21iOS: Background audio; MP3/AAC playbackJaakko Keränen
2021-04-18Player: Fixed audio media type checkJaakko Keränen
IssueID #249
2021-04-05Added new language strings for media, feeds listJaakko Keränen
"about:feeds", inline downloads, and media player UI didn't have translations.
2021-02-23Audio: Handling unsupported audioJaakko Keränen
There was a crash open the context menu when the audio decoder is missing.
2021-02-23Audio: Give up if failed to decode Ogg Vorbis dataJaakko Keränen
IssueID #169
2020-11-24Fixed threading issues and data racesJaakko Keränen
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.
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