Liking cljdoc? Tell your friends :D

clunk.audio


buffersclj

source

cleanup-audioclj

(cleanup-audio {:keys [context device]})

Clean up the openAL sources, buffers, device and context.

Clean up the openAL sources, buffers, device and context.
sourceraw docstring

cleanup-stopped-sources!clj

(cleanup-stopped-sources!)

Run every frame to clean up any sources which have ended (looped sources don't end).

Run every frame to clean up any sources which have ended (looped
sources don't end).
sourceraw docstring

init-audioclj

(init-audio)

Init openAL, returns the context and device so we can clean them up later.

Init openAL, returns the context and device so we can clean them up
later.
sourceraw docstring

load-ogg-file!clj

(load-ogg-file! buffer-key path)

Load a *.ogg music file, returns the al-buffer id (so we can call alDeleteBuffers later).

Load a *.ogg music file, returns the al-buffer id (so we can call
`alDeleteBuffers` later).
sourceraw docstring

play!clj

(play! buffer-key & {:keys [loop?] :or {loop? false}})

Play a buffered file, returns the source in case you need to manually stop! it.

Play a buffered file, returns the source in case you need to manually
`stop!` it.
sourceraw docstring

sourcesclj

source

stop!clj

(stop! source)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close