High CPU usage and strange UI behavior during playback of long audio files
When playing back long audio files multiple issues occur initially, the waveform scrolls at a wrong pace, one CPU core is pegged to 100%, the UI becomes unresponsive to some inputs, and the waveform becomes momentarily invisible. Later during playback, these issues disappear, however, the waveform stays offset from the audio.
This issue is not specific to Opus or compressed file formats.
Decibels was installed using Flatpak
Screen capture of the issues when starting playback
Screen capture of the issue later during playback
System
Kernel: 6.6.24-1-lts
DE: Plasma 6.0.3
WM: kwin (Wayland)
CPU: AMD Ryzen 7 5800X3D
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M
Memory: 31994MiB