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