Audio generator protocol
Audio playback engine

Prev:play-static-audio-clip ( audio-engine source audio loop? -- audio-clip/f )
Next:streaming-audio-clip


streaming-audio-clip s require a generator object to supply PCM data to the audio engine as it is needed. To function as a generator, an object must provide methods for the following generic words:
generate-audio ( generator -- c-ptr size )

generator-audio-format ( generator -- channels sample-bits sample-rate )


A generator object must also be disposable.