Handbook
Glossary
riff-chunk
Vocabulary
audio
.
wav
Definition
USING:
alien.c-types
classes.struct
specialized-arrays.instances.alien.c-types.char
;
IN:
audio.wav
STRUCT:
riff-chunk
{
header
riff-chunk-header
initial:
S{
riff-chunk-header
{
id
char-array{
0 0 0 0
}
}
{
size
char-array{
0 0 0 0
}
}
}
}
{
format char[4]
}
;
Methods
USING:
audio.wav
classes.struct
classes.struct.private
kernel
;
M:
riff-chunk
clone
clone-underlying
\
riff-chunk
memory>struct
;
inline
USING:
accessors
audio.wav
classes.struct
combinators.smart
;
M:
riff-chunk
struct-slot-values
{
[
header>>
]
[
format>>
]
}
cleave>array
;
inline