Handbook
Glossary
read-vorbis-stream ( filename buffer-size -- vorbis-stream )
Ogg Vorbis audio streaming
Prev:
vorbis-stream
Next:
<vorbis-stream> ( stream buffer-size -- vorbis-stream )
Vocabulary
audio
.
vorbis
Inputs
filename
a
string
buffer-size
an
integer
Outputs
vorbis-stream
a
vorbis-stream
Word description
Opens a binary
<file-reader>
for the file named
filename
, and construct a
vorbis-stream
over the file contents using
<vorbis-stream>
.
See also
<vorbis-stream>
Definition
USING:
destructors
io.encodings.binary
io.files
kernel
;
IN:
audio.vorbis
:
read-vorbis-stream
( filename buffer-size -- vorbis-stream )
[
[
binary
<file-reader>
|dispose
]
dip
<vorbis-stream>
]
with-destructors
;
inline