From 03072ef67af0623758a660e2cd3fb5e153133efa Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 24 May 2023 08:09:03 -0400 Subject: Update chickadee manual. --- manuals/chickadee/Audio.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'manuals/chickadee/Audio.html') diff --git a/manuals/chickadee/Audio.html b/manuals/chickadee/Audio.html index 4a72f03..8f167d0 100644 --- a/manuals/chickadee/Audio.html +++ b/manuals/chickadee/Audio.html @@ -1,6 +1,6 @@ - - + --> + - + Audio (The Chickadee Game Toolkit) - - - - - - - - - - - + + + + + + + + + + + - + @@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}

Next: , Previous: , Up: API Reference   [Contents][Index]

-
+

5.4 Audio

A game isn’t complete without sound. Most games play some cool @@ -107,10 +107,10 @@ robust audio API backed by the OpenAL 3D audio system. in the load hook (or anywhere else once the game loop is running) and play it!

-
-
(define sample (load-audio "neat-sound-effect.wav"))
+
+
(define sample (load-audio "neat-sound-effect.wav"))
 
-(audio-play sample)
+(audio-play sample)
 

For more advanced usage, check out the full API reference in the -- cgit v1.2.3