mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
0dc6fe9102
This is the first step in transitioning Piano to a full LibDSP backend. For now, the delay effect is replaced with a (mostly identical) implementation in LibDSP. The new ProcessorParameterSlider attaches to a LibDSP::Processor's range parameter (LibDSP::ProcessorRangeParameter) and changes it automatically. It also has the ability to update an external GUI::Label. This is used for the three delay parameters and it will become useful for auto-generating UI for Processors.
24 lines
437 B
CMake
24 lines
437 B
CMake
serenity_component(
|
|
Piano
|
|
RECOMMENDED
|
|
TARGETS Piano
|
|
DEPENDS AudioServer
|
|
)
|
|
|
|
set(SOURCES
|
|
AudioPlayerLoop.cpp
|
|
Track.cpp
|
|
TrackManager.cpp
|
|
KeysWidget.cpp
|
|
KnobsWidget.cpp
|
|
main.cpp
|
|
MainWidget.cpp
|
|
PlayerWidget.cpp
|
|
RollWidget.cpp
|
|
SamplerWidget.cpp
|
|
WaveWidget.cpp
|
|
ProcessorParameterSlider.cpp
|
|
)
|
|
|
|
serenity_app(Piano ICON app-piano)
|
|
target_link_libraries(Piano LibAudio LibDSP LibGUI)
|