mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:27:35 +00:00
SoundPlayer: Adapt the existing SampleWidget visualization to
the new abstraction
This commit is contained in:
parent
876c62409a
commit
45e928bfb2
2 changed files with 5 additions and 3 deletions
|
@ -73,7 +73,7 @@ void SampleWidget::paint_event(GUI::PaintEvent& event)
|
|||
}
|
||||
}
|
||||
|
||||
void SampleWidget::set_buffer(Audio::Buffer* buffer)
|
||||
void SampleWidget::set_buffer(RefPtr<Audio::Buffer> buffer)
|
||||
{
|
||||
if (m_buffer == buffer)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue