mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
SoundPlayer: Adapt the existing SampleWidget visualization to
the new abstraction
This commit is contained in:
committed by
Andreas Kling
parent
876c62409a
commit
45e928bfb2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user