At Fri, 26 Oct 2007 17:19:31 +0800, zhejiang wrote:
On Thu, 2007-10-25 at 10:05 +0200, Takashi Iwai wrote:
At Thu, 25 Oct 2007 15:05:40 +0800, zhejiang wrote:
Hi,
I have a ICH8M + AD1986A machine.
In 6 channel modes, if adjust the volumes when playing 2-channel or 4-channel music, codec will be muted and all widget's Amp-Out vals will be reset. If you play 2-channel files in 6 channel modes,there is noise in the jacks.
By doing experiments, I found that the 6-channel bug was caused by sharing channels.
If play 2-channel audio file,the rest channels will share channels with the first 2-channel.
The HDA spec doesn’t define the exact behavior under such circumstances.
Majority of the codec chips support sharing channel, but seem that AD1986A doesn’t support.
I wrote a patch and tested it in my hardware,now it works well.
Thanks! It's been a bug that I hardly understood what was wrong.
IMO, it's better to have a flag in hda_multi_out rather than hardcoding the codec id there.
Could you check whether the patch below works?
I have tested them and they are okay! Thanks!
Great, now I committed to ALSA HG tree.
Thanks for testing!
Takashi