1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:17:34 +00:00

Piano: Show a progress window when exporting WAV

This exposes that the export is pretty slow, but it's much nicer than
having the GUI lock up for 20s :^)
This commit is contained in:
kleines Filmröllchen 2022-11-13 18:37:46 +01:00 committed by Tim Flynn
parent 392dac0818
commit e127c4acdc
7 changed files with 132 additions and 3 deletions

View file

@ -5,8 +5,11 @@ serenity_component(
DEPENDS AudioServer
)
compile_gml(ExportProgressWidget.gml ExportProgressWidget.h export_progress_widget)
set(SOURCES
AudioPlayerLoop.cpp
ExportProgressWindow.cpp
KeysWidget.cpp
KnobsWidget.cpp
main.cpp
@ -20,5 +23,9 @@ set(SOURCES
ProcessorParameterWidget/Slider.cpp
)
set(GENERATED_SOURCES
ExportProgressWidget.h
)
serenity_app(Piano ICON app-piano)
target_link_libraries(Piano PRIVATE LibAudio LibCore LibDSP LibGfx LibGUI LibIPC LibMain LibThreading)