mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
Add support for S32 output format
While at it, add a small tweak when converting "silent" samples from float to integer. This ensures 0.0 converts to 0 and vice versa.
This commit is contained in:
parent
a4ef174fd0
commit
5f26a745d7
10 changed files with 81 additions and 18 deletions
|
@ -156,7 +156,7 @@ fn setup(args: &[String]) -> Setup {
|
|||
.optopt(
|
||||
"",
|
||||
"format",
|
||||
"Output format (F32 or S16). Defaults to F32",
|
||||
"Output format (F32, S32 or S16). Defaults to F32",
|
||||
"FORMAT",
|
||||
)
|
||||
.optopt("", "mixer", "Mixer to use (alsa or softvol)", "MIXER")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue