1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +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

@ -28,10 +28,10 @@
#include <LibGUI/Slider.h>
class Slider final : public GUI::Slider {
C_OBJECT(Slider)
class AutoSlider final : public GUI::Slider {
C_OBJECT(AutoSlider)
public:
~Slider() override = default;
~AutoSlider() override = default;
Function<void(int)> on_knob_released;
void set_value(int value)
{
@ -40,7 +40,7 @@ public:
}
protected:
Slider(Orientation orientation)
AutoSlider(Orientation orientation)
: GUI::Slider(orientation)
{
}