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

sndio: use AOUT_CHANS_* values

parent f277d239
...@@ -115,16 +115,16 @@ static int Open (vlc_object_t *obj) ...@@ -115,16 +115,16 @@ static int Open (vlc_object_t *obj)
chans = AOUT_CHAN_CENTER; chans = AOUT_CHAN_CENTER;
break; break;
case 2: case 2:
chans = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT; chans = AOUT_CHANS_STEREO;
break; break;
case 4: case 4:
chans = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT chans = AOUT_CHANS_4_0;
| AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT;
break; break;
case 6: case 6:
chans = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT chans = AOUT_CHANS_5_1;
| AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT break;
| AOUT_CHAN_CENTER | AOUT_CHAN_LFE; case 8:
chans = AOUT_CHANS_7_1;
break; break;
default: default:
msg_Err (aout, "unknown %u channels map", par.pchan); msg_Err (aout, "unknown %u channels map", par.pchan);
......
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