mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:57:44 +00:00
SoundPlayer: Start working on a GUI sound player application
This can play anything that AWavLoader can load (so obviously only WAV files at the moment.) It works by having a timer that wakes up every 100ms and tries to send a sample buffer to the AudioServer. If our server-side queue is full then we wait until the next timer iteration and try again. We display the most recently enqueued sample buffer in a nice little widget that just plots the samples in green-on-black. :^)
This commit is contained in:
parent
6693e56603
commit
1188a036e9
6 changed files with 148 additions and 0 deletions
|
@ -55,6 +55,7 @@ build_targets="$build_targets ../Applications/SystemMonitor"
|
|||
build_targets="$build_targets ../Applications/Taskbar"
|
||||
build_targets="$build_targets ../Applications/Terminal"
|
||||
build_targets="$build_targets ../Applications/TextEditor"
|
||||
build_targets="$build_targets ../Applications/SoundPlayer"
|
||||
|
||||
build_targets="$build_targets ../Demos/Fire"
|
||||
build_targets="$build_targets ../Demos/HelloWorld"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue