summaryrefslogtreecommitdiff
path: root/2d/audio.scm
Commit message (Collapse)AuthorAgeFilesLines
* Add enable-audio procedure.David Thompson2014-03-291-2/+4
| | | | * 2d/audio.scm (enable-audio): New procedure.
* Change license to GPLv3+.David Thompson2014-03-081-8/+8
|
* Return unspecified value for void audio functions.David Thompson2014-01-231-31/+55
| | | | | | | * 2d/audio.scm (ignore-value): New macro. (set-sample-volume, play-sample, pause-music, resume-music) (rewind-music, stop-music): Ignore return value. (music-playing?, music-paused?): Add docstrings.
* Clean up audio API a bit.David Thompson2014-01-221-31/+31
| | | | * 2d/audio.scm: Clean up procedures.
* Initialize audio in audio module instead of window module.David Thompson2014-01-221-0/+2
| | | | | | | * 2d/window.scm (open-window, close-window): Remove open/close audio calls. * 2d/audio.scm: Open audio when module is imported.
* Clean up docstrings for audio module.David Thompson2013-09-151-3/+3
|
* Add sample/music volume control.David Thompson2013-09-131-2/+22
|
* Add audio module.David Thompson2013-09-111-0/+80
This is just a think layer over some basic SDL mixer functions so that users don't need to deal with SDL directly.