[Alsa-user] Route input to output with minimal latency

2017-07-20 Thread Robert Bielik
Hi all, I want to route input to output with minimal possible latency, this will run on a Raspberry Pi, and the latency should be < 1 ms. I was thinking... if the ALSA capture and playback device is mmapped to the same buffer area, this should be dealt with automatically. Is this possible ?

Re: [Alsa-user] Route input to output with minimal latency

2017-07-20 Thread Ralf Mardorf
On Thu, 20 Jul 2017 17:47:17 +, Robert Bielik wrote: >I want to route input to output with minimal possible latency, this >will run on a Raspberry Pi, and the latency should be < 1 ms. > >I was thinking... if the ALSA capture and playback device is mmapped >to the same buffer area, this should

Re: [Alsa-user] Route input to output with minimal latency

2017-07-20 Thread Ralf Mardorf
On Thu, 20 Jul 2017 18:14:07 +, Robert Bielik wrote: >No, software input to output, i.e. capture data and send to playback >directly with minimal latency. > >But I realize that mmapping is not possible since capture and playback >device will have separate buffers, so I still have to copy from