Re: [Alsa-user] write() blocking for short sound streams

2003-10-15 Thread Fredrik Tolf
I'm sorry about the previous mail. I happened to press the wrong button and sent it prematurely. Anyway, I'll restart from the top: Clemens Ladisch writes: > Fredrik Tolf wrote: > > Clemens Ladisch <[EMAIL PROTECTED]> writes: > > > Use "aplay something.wav", or "aplay -Dplughw:X,Y something.wa

Re: [Alsa-user] write() blocking for short sound streams

2003-10-15 Thread Fredrik Tolf
Clemens Ladisch writes: > Fredrik Tolf wrote: > > Clemens Ladisch <[EMAIL PROTECTED]> writes: > > > Use "aplay something.wav", or "aplay -Dplughw:X,Y something.wav", > > > > I did that, and to my surprise it yielded the same results, > > ie. multiple aplay processes playing "short" streams b

Re: [Alsa-user] write() blocking for short sound streams

2003-10-15 Thread Clemens Ladisch
Fredrik Tolf wrote: > Clemens Ladisch <[EMAIL PROTECTED]> writes: > > Use "aplay something.wav", or "aplay -Dplughw:X,Y something.wav", > > I did that, and to my surprise it yielded the same results, > ie. multiple aplay processes playing "short" streams blocked each > other while "long" streams w

Re: [Alsa-user] write() blocking for short sound streams

2003-10-12 Thread Fredrik Tolf
I'm sorry for taking so long to follow up on this. My computer broke and stayed that way for a very long time, and I've just recently begun to dig this up again. Anyway, if you're still willing to help me, here are my findings. Clemens Ladisch <[EMAIL PROTECTED]> writes: > Fredrik Tolf wrote: >

Re: [Alsa-user] write() blocking for short sound streams

2003-09-20 Thread Clemens Ladisch
Fredrik Tolf wrote: > The most annoying thing is that sounds seem to be serialized, ie. if > one process plays something through the OSS DSP device, any other > process that also tries to play through the OSS DSP device blocks > until the first process is done. An strace revealed that it is the > w

[Alsa-user] write() blocking for short sound streams

2003-09-18 Thread Fredrik Tolf
Hello, I have recently started to migrate to Linux 2.6, and since ALSA came with it, I though that I might just as well give it a try, since I've heard so many great things about it. However, my first experiences have not been that positive. I'm guessing that most things are merely configuration