drivers/sound/sb_audio.c - Typo?

Christopher Butler (chrisb@sandy.force9.co.uk)
Tue, 3 Mar 1998 18:57:17 +0000 (GMT)


Hello!

I think I've just noticed a small typo (possibly) in
drivers/sound/sb_audio.c in the function sb16_audio_set_speed.

-- Begin drivers/sound/sb_audio.c --
static int sb16_audio_set_speed(int dev, int speed)
{
sb_devc *devc = audio_devs[dev]->devc;

if (speed > 0)
{
if (speed < 5000) /* Shouldn't this be if (speed < 4000) */
speed = 4000;

if (speed > 44100)
speed = 44100;

devc->speed = speed;
}
return devc->speed;
}
--- End drivers/sound/sb_audio.c ---

Chris
chrisb@sandy.force9.co.uk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu