An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
82
stars
14
forks
source link
Update to latest version of sample crate. Setup audio output stream and foundation of audio engine. #18
This sets up the CPAL backend thread to request frames with a max number of channels (128) or less if there are less available on the device in use (this fallback is nice for testing).
The audio engine runs on a separate thread that waits on an MPSC channel for audio::Messages which include requests for audio (buffer and sample rate), adding/removing audio sources and more audio graph related functionality to come.
This sets up the CPAL backend thread to request frames with a max number of channels (128) or less if there are less available on the device in use (this fallback is nice for testing).
The audio engine runs on a separate thread that waits on an MPSC channel for
audio::Message
s which include requests for audio (buffer and sample rate), adding/removing audio sources and more audio graph related functionality to come.Makes a start on #3.