1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

Base+Utilities: Add the asctl audio utility, replacing avol

The new asctl (audio server control) utility expands on avol with a
completely new command line interface (documented in the man page) that
supports retrieving and setting all exposed audio server settings, like
volume and sample rate. This is currently the only user-facing way of
changing the sample rate.
This commit is contained in:
kleines Filmröllchen 2021-08-19 00:22:28 +02:00 committed by Ali Mohammad Pur
parent f99e6507ee
commit 7d7d310df6
5 changed files with 219 additions and 87 deletions

View file

@ -7,7 +7,7 @@ list(APPEND REQUIRED_TARGETS
touch tr true umount uname uniq uptime w wc which whoami xargs yes less
)
list(APPEND RECOMMENDED_TARGETS
adjtime aplay avol bt checksum chres cksum copy fortune gunzip gzip init keymap lsirq lsof lspci man mknod mktemp
adjtime aplay asctl bt checksum chres cksum copy fortune gunzip gzip init keymap lsirq lsof lspci man mknod mktemp
modload modunload nc netstat notify ntpquery open pape passwd pls printf pro shot tar tt unzip zip
)
@ -52,7 +52,7 @@ foreach(CMD_SRC ${CMD_SOURCES})
endforeach()
target_link_libraries(aplay LibAudio)
target_link_libraries(avol LibAudio)
target_link_libraries(asctl LibAudio)
target_link_libraries(bt LibSymbolication)
target_link_libraries(checksum LibCrypto)
target_link_libraries(chres LibGUI)