Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> > is there some ALSA plugin that can coalesce buffering ? Meaning that > > the plugin can take f.i. larger period_size than what the dmix device > > is working with ? > > What problem would that solve? Not sure. It would allow clients connecting to that device to have a more relaxed callback s

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: > is there some ALSA plugin that can coalesce buffering ? Meaning that > the plugin can take f.i. larger period_size than what the dmix device > is working with ? What problem would that solve? Regards, Clemens ---

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi Clemens, > >> Is there any other plugin doing the same thing as dmix... but working ? > > Yes, dmix with a larger buffer size (i.e., more periods). Hmm. Yes. I've tried running aplay with "chrt --rr 99" and it got way more stable, even at as low a settings as 64 frames (period_size) + 2 peri

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: >> Is there any other plugin doing the same thing as dmix... but working ? Yes, dmix with a larger buffer size (i.e., more periods). > I'd need a mixing plugin that does not do sample rate conversion, i.e. each > client connecting to it should be forced to use the mix plugs s

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> The reason is that for my project I need to have as low a latency as possible > in > the dmix chain. Is there any other plugin doing the same thing as dmix... but > working ? 😊 More specifically, I'd need a mixing plugin that does not do sample rate conversion, i.e. each client connecting to i

[Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi, I'm using the audioinjector octocard on a R Pi 3, and I have a problem where the system default dmix (dmix:0,0) plays just fine (via aplay), but my own defined dmix device occasionally stops streaming with a xrun condition: Status(R/W): state : RUNNING trigger_time: 13953.124684

Re: [Alsa-user] dmix problem on PXA270 + AC97 codec

2011-10-22 Thread Cliff Brake
One other note: aplay -D plug:dmix through a USB sound card does appear to work. There is some hiss at the end, but I do at least hear sound. Thanks, Cliff On Sat, Oct 22, 2011 at 11:47 PM, Cliff Brake wrote: > Hello, > > I have an embedded system that contains: > > - PXA270 ARM cpu > - UCB1400

[Alsa-user] dmix problem on PXA270 + AC97 codec

2011-10-22 Thread Cliff Brake
Hello, I have an embedded system that contains: - PXA270 ARM cpu - UCB1400 AC97 codec - ALSA (libasound) 1.0.24 - 3.0 kernel When I run aplay , it works fine. When I run -D plug:dmix , it appears to be playing (don't see any error messages, runs for expected amount of time), but I hear silence