Commit 3fb6865d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

sndio: fix typo in 8-bits audio handling

(cherry picked from commit 29ed18c70410534fe06318d5e1c4e5b7daebdd68)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 870d1134
...@@ -76,7 +76,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt) ...@@ -76,7 +76,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
struct sio_par par; struct sio_par par;
sio_initpar (&par); sio_initpar (&par);
switch (fmt->i_format) { switch (fmt->i_format) {
case VLC_CODEC_S8: case VLC_CODEC_U8:
par.bits = 8; par.bits = 8;
par.sig = 0; par.sig = 0;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment