Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2656
b: refs/heads/master
c: 4b3acaf
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 22, 2005
1 parent afaba92 commit e3dac98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e289f16ec2e08bbb37ce57a31386ed135887da4
refs/heads/master: 4b3acaf5b56f53ef259a6ddf8e17dcb529631d9b
7 changes: 4 additions & 3 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1682,11 +1682,12 @@ int snd_hda_multi_out_analog_prepare(struct hda_codec *codec, struct hda_multi_o
snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag, 0, format);
/* surrounds */
for (i = 1; i < mout->num_dacs; i++) {
if (i == HDA_REAR && chs == 2) /* copy front to rear */
snd_hda_codec_setup_stream(codec, nids[i], stream_tag, 0, format);
else if (chs >= (i + 1) * 2) /* independent out */
if (chs >= (i + 1) * 2) /* independent out */
snd_hda_codec_setup_stream(codec, nids[i], stream_tag, i * 2,
format);
else /* copy front */
snd_hda_codec_setup_stream(codec, nids[i], stream_tag, 0,
format);
}
return 0;
}
Expand Down

0 comments on commit e3dac98

Please sign in to comment.