kern/89046: pchan-related sound corruption in ESS Allegro-1 (snd_maestro3)

Vladimir V. Pavluk vvp at dgs.ru
Mon Nov 14 21:00:33 PST 2005


>Number:         89046
>Category:       kern
>Synopsis:       pchan-related sound corruption in ESS Allegro-1 (snd_maestro3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 05:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir V. Pavluk
>Release:        FreeBSD 5.4-RELEASE-p8
>Organization:
Digital Service, LLC
>Environment:
FreeBSD vvp-nb.dgs.ru 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #9: Mon Nov 14 16:08:05 NOVT 2005     root at vvp-nb.dgs.ru:/usr/src/sys/i386/compile/VVP-NB  i386

>Description:
Hardware:
Compaq Evo N600c, ESS Allegro-1 sound (snd_maestro3 driver)
After there is some sound with 22050 freqency rate have been played via one of pchans while the other pchan is playing another sound with 44100 frequency rate, the latter pchan's sound becomes corrupted (pitched down).
>How-To-Repeat:
play some mp3 sound with XMMS, then use play utility to play some 22050 wav file (I used one from licq distribution: /usr/local/share/licq/sounds/icq/*.wav).
>Fix:
An ugly hack, but as for me, it let me to fix the problem.
------------------------------------------------------------------------------
--- maestro3.c  Tue Nov 15 04:19:21 2005
+++ maestro3.c.orig     Mon Nov 14 18:11:09 2005
@@ -582,6 +582,8 @@
                 m3_wr_assp_data(sc, ch->dac_data + CDATA_INSTANCE_READY, 0);
                 m3_wr_assp_data(sc, KDATA_MIXER_TASK_NUMBER,
                                sc->pch_active_cnt);
+                m3_wr_assp_data(sc, KDATA_TIMER_COUNT_RELOAD, 240);
+                m3_wr_assp_data(sc, KDATA_TIMER_COUNT_CURRENT, 240);
                break;

        case PCMTRIG_EMLDMAWR:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list