Handbook
Glossary
start-audio ( audio-engine -- )
Audio playback engine
Prev:
<standard-audio-engine> ( -- engine )
Next:
start-audio* ( audio-engine -- )
Vocabulary
audio
.
engine
Inputs
audio-engine
an
audio-engine
Outputs
None
Word description
Starts processing of the
audio-engine
, and starts a thread that will call
update-audio
50 times per second. If you will be integrating your own timer mechanism,
start-audio*
will start processing without providing the update thread.
Definition
USING:
accessors
calendar
kernel
timers
;
IN:
audio.engine
:
start-audio
( audio-engine -- )
dup
start-audio*
dup
[
update-audio
]
curry
20
milliseconds
every
>>update-timer
drop
;