<vorbis-stream> ( stream buffer-size -- vorbis-stream )
Ogg Vorbis audio streaming

Prev:read-vorbis-stream ( filename buffer-size -- vorbis-stream )


Vocabulary
audio.vorbis

Inputs
streama binary input stream
buffer-sizean integer


Outputs
vorbis-streama vorbis-stream


Word description
Constructs vorbis-stream over the contents of stream. When used as an audio generator, the Vorbis stream will supply data to the audio engine in buffer-size byte blocks. If the Vorbis stream is created successfully, it will take ownership of stream, disposing it when dispose is called on the vorbis-stream.

See also
read-vorbis-stream

Definition