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:
parent
2e28b8ebcc
commit
fd126578d9
12 changed files with 51 additions and 311 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue