summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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: Rewind button in the UIJaakko Keränen
2020-10-08Player: Play/pause button in the UIJaakko Keränen
2020-10-08Media: Images not processed until data is completeJaakko Keränen
2020-10-08DocumentWidget: Start playing audio immediatelyJaakko Keränen
2020-10-08DocumentWidget: Updating audio contentJaakko Keränen
2020-10-08Helper for checking a successful status codeJaakko Keränen
2020-10-08Player: Total input sizeJaakko Keränen
2020-10-07Fixed constant window redrawingJaakko Keränen
There were a couple of uninitialized values, which meant that the hovering outline was sometimes interpreted to be in an indefinite animation.
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-04Fixed window position retain errorJaakko Keränen
At least on macOS, there is a stray window move event during app launch that causes the wrong position to be saved. At launch, the window position comes from preferences.
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-10-01Refactor: Separate media from GmDocumentJaakko Keränen
2020-09-30Windows: Initial/minimum window size vs. UI scale factorJaakko Keränen
2020-09-30Windows: Use the system UI scaling factorJaakko Keränen
Check for system UI scaling factor via Direct2D DPI values.
2020-09-30Windows: Improved fix for UI blankingJaakko Keränen
Must invalidate all buffered visuals if the renderer is reset.
2020-09-30Windows: Declare as HiDPI awareJaakko Keränen
2020-09-29CleanupJaakko Keränen
2020-09-29Added stub for audio playerJaakko Keränen
2020-09-29Updated release notesJaakko Keränen
2020-09-29Text: Better readability with Fira SansJaakko Keränen
Increased Fira Sans line spacing, now more in line with Nunito.
2020-09-29Lighter separators in Light modeJaakko Keränen
2020-09-29GmDocument: List bullets use a different colorJaakko Keränen
More distinctive.
2020-09-28Bumped version number to 0.4Jaakko Keränen
2020-09-28CleanupJaakko Keränen
2020-09-28SidebarWidget: Max limit for sidebar widthJaakko Keränen
Must leave some space for the document.
2020-09-28GmDocument: Tweaks in the dark color themeJaakko Keränen
2020-09-28Adjusted light mode color paletteJaakko Keränen
The accent color hues weren't quite right.
2020-09-27macOS: 10.13 should use OpenGL rendererJaakko Keränen
There appears to be a problem with SDL's Metal renderer under 10.13 (segfault on window creation).
2020-09-27DocumentWidget: Side icon animation glitchesJaakko Keränen
2020-09-27macOS: Robust system appearance checkJaakko Keränen
This API does not exist on 10.13, so prepare for an exception.
2020-09-27macOS: Allow dark mode on 10.13 buildsJaakko Keränen
2020-09-26Updated HelpJaakko Keränen
2020-09-26Fixed menu item label in error messageJaakko Keränen
2020-09-26CleanupJaakko Keränen
2020-09-26DocumentWidget: Show top heading on the sideJaakko Keränen
2020-09-26Preferences: Added side icon, hover outlineJaakko Keränen
2020-09-25Document side elements; hover outlineJaakko Keränen
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-09-22Drawing with alpha blendingJaakko Keränen
2020-09-22Added an animation utilityJaakko Keränen
2020-09-21App: Saving the "Big 1st paragraph" settingJaakko Keränen
2020-09-21Preferences: Line width, 1st paragraph; tab switch keysJaakko Keränen
2020-09-21Radio button widget flagJaakko Keränen