2012/9/5 Takashi Iwai tiwai@suse.de:
At Wed, 5 Sep 2012 13:58:35 +0800, Wang Xingchao wrote:
Please Note This patchset has not been tested yet on any Hardware platform. i could only confirm there's no compile error. :) I test previous single patch on the Yamaha A/V receiver which works well, the test results was also confirmed by some guys from XBMC forum.
The idea of this patch comes from Anssi, Big credit to him at first!
Any comments are appreciated!
Changelog:
- do not touch channel_allocation priority order, use new api to get
correct channels number
- use spdif->status to check audio type, pcm or non-pcm
- create new non_pcm_mapping[] for non_pcm audio in seperate block
- add non_pcm hdmi_spec_per_cvt to remember previous audio type, used to determine whether need a channel mapping update during the pcm/non-pcm stream switch with same channel number.
Wang Xingchao (3): ALSA: hdmi - fix channel_allocation array wrong order ALSA: HDMI - Enable HBR feature on Intel chips ALSA: HDMI - Setup channel mapping for non_pcm audio
The patches look good to me. Maybe you can unify the subject line prefix (either lower or upper case), though :)
Okay. And I will let you know after the patches are tested, this may take some time. :(
thanks --xingchao
thanks,
Takashi
sound/pci/hda/patch_hdmi.c | 56 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 5 deletions(-)
-- 1.7.9.5
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel