Re: Sound...

Kalle Andersson (kalle@sslug.dk)
Tue, 23 Feb 1999 14:32:43 +0100 (CET)


On Tue, 23 Feb 1999, Alan Cox wrote:

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

xwave2 kept seg faulting after about 10-15 seconds of recording. (That's
all I can say about it =((). Gdb isn't installed and nor do I know how to
use it... But ok, until next time =)

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

OK I'll try.. Thanks!

--
Med Vänlig Hälsning
Kalle Andersson
kalle@sslug.dk

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