Handbook
Glossary
convert-data-endian ( audio -- audio )
Vocabulary
audio
.
chunked-file
Inputs
audio
an
object
Outputs
audio
an
object
Definition
USING:
accessors
combinators
endian
kernel
;
IN:
audio.chunked-file
:
convert-data-endian
( audio -- audio )
dup
sample-bits>>
{
{
16
[
[
2
seq>native-endianness
]
change-data
]
}
{
32
[
[
4
seq>native-endianness
]
change-data
]
}
[
drop
]
}
case
;