In addition to r230511, allow 8 channel AC3 formats.
This commit is contained in:
parent
61149f8d7c
commit
bf318c6aa2
@ -4979,6 +4979,10 @@ hdaa_pcmchannel_setup(struct hdaa_chan *ch)
|
|||||||
}
|
}
|
||||||
if (HDA_PARAM_SUPP_STREAM_FORMATS_AC3(fmtcap)) {
|
if (HDA_PARAM_SUPP_STREAM_FORMATS_AC3(fmtcap)) {
|
||||||
ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 2, 0);
|
ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 2, 0);
|
||||||
|
if (channels >= 8) {
|
||||||
|
ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 8, 0);
|
||||||
|
ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 8, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ch->fmtlist[i] = 0;
|
ch->fmtlist[i] = 0;
|
||||||
i = 0;
|
i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user