AUDIO ABSTRACTIONS


Home

Example:

# audio_hello: Create an audio decoder and player,
# resume the player and enter an activation loop.
proc audio_hello {} {
 audio_decoder ad -in hello.au
 audio_player ap -in ad
 ap resume
 while { [ad decode] == 0 && [ap play] == 0 } { update }
}