Update Readme.md

Add description and example for `--sampleformat`
This commit is contained in:
MickMorley 2022-12-21 22:03:24 -05:00 committed by Johannes Pohl
parent 56c8a3f693
commit e236b7c6bf

View file

@ -132,6 +132,7 @@ Available audio backends are configured using the `--player` command line parame
Parameters are appended to the player name, e.g. `--player alsa:buffer_time=100`. Use `--player <name>:?` to get a list of available options.
For some audio backends you can configure the PCM device using the `-s` or `--soundcard` parameter, the device is chosen by index or name. Available PCM devices can be listed with `-l` or `--list`
If you are running MPD and Shairport-sync into a soundcard that only supports 48000 sample rate, you can use `--sampleformat <arg>` and the snapclient will resample the audio from shairport-sync, for example, which is 44100 (i.e. `--sampleformat 48000:16:*`)
## Test