On Thu, November 5, 2009 08:47, Wu Fengguang wrote: > On Thu, Nov 05, 2009 at 08:46:55AM +0800, David wrote: >> Currently doing some testing with sticky stream id and format. >> >> Could you test the attached patch (applies to alsa git repo, without >> your patchset) and see if you get the initial 0.5s silence with your >> receiver? > > Yes it worked! Worked as in you get no 0.5s of initial silence? Or worked as in you at least got some audio and the computer didn't crash? :) > However something is broken when > > CONFIG_SND_HDA_POWER_SAVE=y > CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 I was kind of expecting my patch to break both power save and suspend/resume given that it expects the stream format and id to survive from pcm_close to pcm_prepare (which they probably won't if power saving and/or resume/suspend kicks in). Power save also seems to mess up some other parts of the driver even without my patch (haven't really looked into that yet...power save might be tricky with HDMI from what I've seen so far). The patch was just a test case to see if it was enough to fix the 0.5s silence on receivers which are less picky than mine (it still doesn't fix the 0.5s silence on my receiver but it fixes the silence-for-the-duration-of-a-track problem). Next up, more testing with VCFG when I have more time. I have actually tried setting that bit but it didn't change anything. Comments in setup_dig_out_stream from hda_codec.c seems to suggest that it's a bit more complex than just setting the right bit. > Attached is my updated patchset, which includes the sticky > stream/infoframe features. Thanks, I'll take a look at it as soon as possible. Regards, David ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user