lkml.org 
[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] allow emu10k1 as non-module in 2.2.17pre

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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.026 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site