Files
leaguerecorder/app/src
vhaudiquet ac9faba229 app: play the soundtrack from its own player
Unmuting the review's video player was not enough: rune asks Media
Foundation for pictures and sound from one reader, and that reader stamps
the sound samples from its own session clock rather than the clip's start.
The stamps land about six seconds after the playhead, so the queue never
lines up with the clock and every fill writes zeros.

An audio-only player reads the same file and starts at zero. The review
now keeps one for the soundtrack, muted the video player, and drives both
players from the transport bar: play, pause, seek, volume and mute. They
are kept within a quarter second of each other, and the soundtrack waits
until the file has reported it has sound, so clips without an audio track
open no second player.

Measured with rune instrumented against a 57 s recording: the video
player's render buffer carried zeros on every fill, the soundtrack player
carries the clip's samples at the set gain.
2026-11-18 23:07:00 +01:00
..