mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
SoundPlayer: Auto refresh visualization widgets
Visualization widgets should only have to tell how many samples they need per frame and have a render method which receives all data relevant to draw the next frame.
This commit is contained in:
parent
02462b6068
commit
9edaa033e5
7 changed files with 115 additions and 107 deletions
|
@ -57,7 +57,3 @@ void AlbumCoverVisualizationWidget::start_new_file(StringView filename)
|
|||
else
|
||||
m_album_cover = album_cover_or_error.value();
|
||||
}
|
||||
|
||||
void AlbumCoverVisualizationWidget::set_buffer(RefPtr<Audio::Buffer>)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue