1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:37:46 +00:00

SoundPlayer: Add samplerate variable to visualizations

also fix conflict
This commit is contained in:
Cesar Torres 2021-03-26 01:28:56 +01:00 committed by Andreas Kling
parent 2e28b8ebcc
commit fd126578d9
12 changed files with 51 additions and 311 deletions

View file

@ -172,13 +172,10 @@ void PlaybackManager::next_buffer()
remove_dead_buffers();
if (!m_next_buffer) {
if (!m_connection->get_remaining_samples() && !m_paused) {
dbgln("Exhausted samples :^)");
if (m_loop)
seek(0);
else
stop();
stop();
if (on_finished_playing)
on_finished_playing();
}
return;
}