On Thu, 20 Jul 2000, Mikael Pettersson wrote:
> Recent 2.2.17pre include the emu10k1 sound driver. Cool.
> Unfortunately it only works as a module. The following
> trivial patch allows it to also work as a non-module by
> having sound_core initialise it.
I've submitted a patch for this driver that no one really acknowledged.
You're allowed to set the sampling rate to zero through an ioctl, and when
that happens, it causes a divide by zero exception.
I find that other sound drivers interpret this as the application
requesting the sampling rate, which is why a perfectly innocent (if not
naive) program of mine crashed on this driver.
Even if setting it to zero is NOT the way to get the sampling rate, I
don't think division by zero is a desired side-effect.
Michael Bacarella
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:14 EST