Commit 6eae0006 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sndio: fix format selection

parent 87ed819b
......@@ -82,7 +82,7 @@ static int Open (vlc_object_t *obj)
audio_format_t f;
switch (par.bps)
switch (par.bits)
{
case 8:
f.i_format = par.sig ? VLC_CODEC_S8 : VLC_CODEC_U8;
......
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