Re: Sound...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 23 Feb 1999 14:14:08 +0000 (GMT)


> We started by trying to record with xwave2, but the darn thing
> kept seg faulting when using 44.1KHz 16 bits stereo (the other
> configurations worked mostly OK, but since we need this configuration...).
> We tried yarec too, the result was the same...

What faulted, kernel, userspace, where did it break, what did gdb say.
This is a zero useful content message

> But after recording, (there's some heavy disc IO), we could barely play
> and we'd see messages like "Couldn't allocate DMA buffer", "Unable to
> open /dev/dsp" and sometimes "Sound: Recording overrun". Which also led to
> that xwave2 was instable, it basically crashed when we sometimes wanted to
> play the wave file. If we waited for a while it'd allow us to play.

insmod sound dmabuf=1 (I think I'll make this the default behaviour)

Recording overrun means the program didnt queue buffers to the sound driver
fast enough. That can also be down to shortages of DMA memory or using
ISA sound cards on machines doing heavy PCI I/O.

Alan

-
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/