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