diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-02-05 13:50:30 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-02-10 22:01:38 -0500 |
commit | ff41e8cad9d613a1701ed550c690af0959cb6b4e (patch) | |
tree | c6709ed6050b8284c1826b51f1721acb062ea3d1 | |
parent | e580d11c886a9b7cfa6474544915044e1b5090f7 (diff) |
audio: Adjust name of argument to load-sample.
* sly/audio.scm (load-sample): s/filename/file/
-rw-r--r-- | sly/audio.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sly/audio.scm b/sly/audio.scm index 5a437a9..bac3ab0 100644 --- a/sly/audio.scm +++ b/sly/audio.scm @@ -64,10 +64,10 @@ sample? (audio sample-audio)) -(define (load-sample filename) - "Load audio sample from FILENAME or return #f if the file cannot be +(define (load-sample file) + "Load audio sample from FILE or return #f if the file cannot be loaded" - (let ((audio (sdl2:load-chunk filename))) + (let ((audio (sdl2:load-chunk file))) (if audio (make-sample audio) #f))) (define (set-sample-volume volume) |