ggdt/examples/audio_playback
Gered e276eb950d add AudioQueue
for queuing audio "commands" which is a much nicer way to interact
with the audio system in general in a more complex application, as this
lets you play audio in more of a "fire and forget" kind of way.

Rc<AudioBuffer> play methods provided as an alternative because
otherwise you end up with a somewhat gross double-copy of the audio
buffer being played. but i didn't want to necessarily force use of
Rc<AudioBuffer> just yet ... thus both versions of these methods are
provided.
2022-07-01 16:23:28 -04:00
..
assets update audio_playback example with varied wav file formats to convert 2022-05-29 13:18:51 -04:00
src add AudioQueue 2022-07-01 16:23:28 -04:00
Cargo.toml add audio_playback example 2022-05-28 20:29:40 -04:00
README.md add audio_playback example 2022-05-28 20:29:40 -04:00

libretrogd - Audio Playback Example

Simple example of playing back one or more sounds loaded from WAV files simultaneously.

Run cargo run from this directory to try it out.