[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 problems with xmms



Allright people...
The following patch (from NetBSD) resolves the "mixer reset to default" problem
I was having with xmms and mySBlive! under 3.5.
I still have my "wav files play to fast" problem, but at least one thing is
resolved :)
I thank you all for the great help you gave me.

Regards.

Antoine

--- sys/dev/pci/emuxki.c.orig   Wed Feb 25 20:23:01 2004
+++ sys/dev/pci/emuxki.c        Tue Aug 31 10:01:27 2004
@@ -1609,7 +1609,7 @@
 
        if (timerate & ~EMU_TIMER_RATE_MASK)
                timerate = 0;
-       bus_space_write_4(sc->sc_iot, sc->sc_ioh, EMU_TIMER, timerate);
+       bus_space_write_2(sc->sc_iot, sc->sc_ioh, EMU_TIMER, timerate);
        if (!active && (sc->timerstate & EMU_TIMER_STATE_ENABLED)) {
                bus_space_write_4(sc->sc_iot, sc->sc_ioh, EMU_INTE,
                        bus_space_read_4(sc->sc_iot, sc->sc_ioh, EMU_INTE) &