Bug 503729

Summary: buffer is cleared before next track
Product: [Applications] Elisa Reporter: Anna Aurora <anna>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Anna Aurora 2025-05-03 22:54:36 UTC
SUMMARY
elisa does not load part of the next track into buffer when before a track ends. i.e., the buffer is only per track and this causes audio dropouts on networked speakers.

STEPS TO REPRODUCE
1. queue two tracks
2. play
3. wait for the next track

OBSERVED RESULT
audio drops out on some audo sinks like networked speakers

EXPECTED RESULT
audio does not drop out because elisa loads the start of the next track into the buffer before the next track starts playing.

SOFTWARE/OS VERSIONS
Linux: Linux 6.12.25
Qt Version: 6