Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv4210
Modified Files: via82xx.c Log Message: - allow VAR for multi-channel stream. - use 48k only for DXS #3 on VIA8233A. Index: via82xx.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- via82xx.c 16 Sep 2003 15:09:35 -0000 1.50 +++ via82xx.c 17 Sep 2003 12:42:05 -0000 1.51 @@ -1042,8 +1042,8 @@ ratep = &chip->rates[viadev->direction]; spin_lock_irqsave(&ratep->lock, flags); ratep->used++; - if (chip->dxs_fixed && viadev->direction == 0) { - /* fixed playback rate */ + if (chip->dxs_fixed && viadev->reg_offset < 0x40) { + /* fixed DXS playback rate */ runtime->hw.rates = SNDRV_PCM_RATE_48000; runtime->hw.rate_min = runtime->hw.rate_max = 48000; } else if (! ratep->rate) { @@ -2071,6 +2071,7 @@ if (chip_type == TYPE_VIA8233A) { if ((err = snd_via8233a_pcm_new(chip)) < 0) goto __error; + chip->dxs_fixed = 1; /* use 48k for DXS #3 */ } else { if ((err = snd_via8233_pcm_new(chip)) < 0) goto __error; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog