Expand description
Asterisk-style headerless signed-linear PCM container (.sln / .slin*).
An .sln file is the degenerate container: the entire file body is raw
interleaved 16-bit little-endian PCM at a sample rate implied by the
extension. No header, no magic, no trailer. Mono only in Asterisk’s own
usage, and that is what this demuxer assumes.
Extension → sample rate (the Asterisk convention):
| extension | sample rate |
|---|---|
sln / slin | 8_000 Hz |
sln8 / slin8 | 8_000 Hz |
sln12 / slin12 | 12_000 Hz |
sln16 / slin16 | 16_000 Hz |
sln24 / slin24 | 24_000 Hz |
sln32 / slin32 | 32_000 Hz |
sln44 / slin44 | 44_100 Hz |
sln48 / slin48 | 48_000 Hz |
sln96 / slin96 | 96_000 Hz |
sln192 / slin192 | 192_000 Hz |
The muxer writes raw S16LE bytes verbatim with no framing.
Functions§
- open_
demuxer_ with_ rate - Programmatic entry point: open a
.sln*stream at an explicit sample rate. Useful when the caller demuxes from memory and cannot supply a filename hint through the registry’s extension lookup. - probe
- Raw PCM has no magic bytes, so this probe is only able to fire on the
file extension. Returns
PROBE_SCORE_EXTENSION(25) when an.sln*/.slin*extension is supplied and0otherwise — a weak hint that any real container probe will outrank. - register