On Wed, October 28, 2009 05:46, Wu Fengguang wrote: > - the checksum field cannot be removed - otherwise 8-channel audio > will be played only as 2-channel. > - if add a 800ms sleep in intel_hdmi_playback_pcm_prepare(), the > first-0.5s-samples-lost problem disappears > > Attached is the updated patchset. Good morning, I tried your latest patchset (2009-10-28) on top of 2.6.32-rc5. The first problem I came across was that in these lines from hdmi_setup_audio_infoframe: if (spec->sink_present[i] != true) continue; spec->sink_present[i] was always false for some reason (is sink_present only set as a result of HDMI hot-plug detection?) so I commented out those two lines for now. However, I still have the silence (on track change) problem. If the msleep() you suggested fixes the silence during the first 0.5s problem, then perhaps it would be possible to change the infoframe code so that an audio infoframe with the ct bits set to zero is transmitted when the pcm device is not in use instead of using a sticky infoframe (which seems to fix it for me at least)? Also, are you sure that the checksum is really supposed to be in the DIP buffer? The buffer hardware size seems odd if that is the case (since PB10 will have to be discarded). Section 7.3.3.36 of HDA034-A2 and HDA036-A (which you referred to) both seem to suggest that the checksum byte should be excluded (which would make the hardware and software buffer sizes match). Could you perhaps get clarification on that point from someone at Intel? Regards, David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user