summaryrefslogtreecommitdiff
path: root/chickadee/audio.scm
Commit message (Collapse)AuthorAgeFilesLines
* audio: Add public audio API.David Thompson2020-04-071-0/+763
| | | | | | * chickadee/audio.scm: New file. * Makefile.am (SOURCES): Add it. * api.texi (Audio): Add docs.
* Move SDL game loop implementation to its own module.David Thompson2018-08-231-147/+0
|
* audio: Use values between 0 and 1 for volume.David Thompson2018-01-091-9/+12
| | | | | | | Hide the weird SDL usage of 0 to 128. * chickadee/audio.scm (set-sample-volume!, music-volume, set-music-volume!): Translate to/from SDL's volume range.
* Add audio support.David Thompson2017-01-241-0/+144
* chickadee/audio.scm: New file. * Makefile.am (SOURCES): Add it. * chickadee.scm (run-game): Initialize audio. * doc/api.texi ("Audio"): Document it.