Add information about the sample format

This commit is contained in:
badaix 2020-05-08 11:11:17 +02:00
parent 860c0e5c8f
commit da11253b97

View file

@ -23,6 +23,9 @@ stream = pipe:///tmp/snapfifo?name=default
...
```
The sampleformat is a triple of `<samplerate>:<bit depth>:<channels>`, e.g. `44100:16:2`.
The PCM samples (bit depth) must be encoded signed, little endian in 8, 16, 24, or 32 bit, where 24 is expected to be encoded in the lower three bytes of a 32 bit word.
## About the notation
In this document some expressions are in brackets: