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

Vladimir V. Pavluk vvp at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 05:00:30 GMT 2005
>Originator:     Vladimir V. Pavluk
>Release:        FreeBSD 5.4-RELEASE-p8
Digital Service, LLC
FreeBSD 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #9: Mon Nov 14 16:08:05 NOVT 2005     root at  i386

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).
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).
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,
+                m3_wr_assp_data(sc, KDATA_TIMER_COUNT_RELOAD, 240);
+                m3_wr_assp_data(sc, KDATA_TIMER_COUNT_CURRENT, 240);

        case PCMTRIG_EMLDMAWR:


More information about the freebsd-bugs mailing list