1
Fork 0
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:
Andreas Kling 2019-09-04 20:18:41 +02:00
parent 6693e56603
commit 1188a036e9
6 changed files with 148 additions and 0 deletions

View file

@ -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"