On 03/24/2013 11:03 PM, Torstein Hegge wrote: > On Sun, Mar 24, 2013 at 22:41:11 +0100, Davor Herga wrote: >> On 03/24/2013 09:53 PM, Torstein Hegge wrote: >>> On Sun, Mar 24, 2013 at 00:15:04 +0100, Davor Herga wrote: >>>> I tried the Openwrt-box with 3.6.11 kernel which already uses the patch >>>> and I did not have any problems changing sample rates. >>>> I had two tracks, one 44.1kHz and one 96kHz. No matter which was started >>>> first, there were no problems noticed. >>>> >>>> On the laptop I used the Slax distro with 3.8.2 kernel, which I believe >>>> does not use the patch, because it is not present in 3.8.3 kernel. >>>> If I started to play the file with 96kHz track, the sampling rate >>>> frequency (checked in cat /proc/asound/card2) was set wrong, but if the >>>> track was stopped and restarted the sampling frequency was correct. When >>>> I switched to 44.1kHz the sampling frequency was wrong and again after >>>> stopping and restarting the track it was correct. >>>> >>>> I did the reboot of the laptop and this time I started with 44.1kHz and >>>> the sampling rate frequency was correct. When I changed to 96kHz track >>>> the sampling frequency was wrong but after stop and restart it was >>>> correct. And if I changed to 44.1kHz from the sampling rate was again >>>> wrong, but was correct after I stopped and restarted the track. >>> I think we can conclude that the VIA VT1731 has the same issue as the >>> C-Media CM6631. >>> >>> I'll add the VT1731 as one of the devices that needs a reset after >>> sample rate change in the next iteration of the sample rate workaround >>> patch. >> >> If I understand correctly, the new iteration will improve the v3? >> So I should probably wait for the next iteration before modifying >> and inserting v3? >> Or could I live "happily ever after" with the v1 pcm.c patch instead >> of clock.c? > The current version is v4, I'll probably post v5 with VT1731-support > tomorrow. I have attached a "v4.5", that is v4 + VT1731-support. If you > could test that and report back, that would be great. I tested switching between rates with the "v4.5" patch and no problems were noticed. > >> I posted a note on head-fi forum and asked other users of Audio-gd >> devices who use Linux to send me the lsusb -v output. I am not sure if >> idVendor and idProduct is the same for all x.32 series, although they >> all use the VIA VT1731 chip. > Nice. > >> If I get any informations with different id's, should I mail them to >> you, or on alsa-users mailing list? > Please always Cc: the list. > > > Torstein I removed the above mentioned attached patch "v4.5", so Torstein can decide when and where to post it. Thanks for all the help, Davor. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user