Esc

read

procedureextensionexperimentalsince 0.36.1Source
  • macOS: read works on macOS
  • Linux: read works on Linux
  • Windows: read works on Windows
  • Wasm: read works on Wasm

Reads interleaved signed 16-bit samples into caller storage. Returns frames decoded, zero at EOF, or -1 on a file/codec failure. Storage must fit a whole number of frames.

Signature

read :: (r: *Reader, output: [] s16) -> s64

See also