Robert Bielik wrote:
> using the alsaloop tool and setting a latency, what does that mean
> exactly ? If I set latency to 48 frames (like below), does it mean 48
> frames per capture/playback, i.e. so total latency is 96 frames ? Or
> is 48 the total latency ?
As far as I can see, the buffer size
dirac.com]
> Sent: den 21 juli 2017 11:32
> To: Clemens Ladisch <clem...@ladisch.de>; alsa-user@lists.sourceforge.net
> Subject: Re: [Alsa-user] Route input to output with minimal latency
>
> Hello Clemens,
>
> > Otherwise, you have to do the capture and playback in soft
Hello Clemens,
> Otherwise, you have to do the capture and playback in software. See the
> alsaloop tool. What latency you can reach depends on how much other
> applications and drivers interfere with the scheduling; on the Pi, typical
> culprits are WiFi, ethernet, or USB.
> Also see
Gordon Scott wrote:
> On 21/07/17 08:18, Clemens Ladisch wrote:
>> What latency you can reach depends on how much other
>> applications and drivers interfere with the scheduling; on the Pi,
>> typical culprits are WiFi, ethernet, or USB.
>
> Indeed. Any serial and/or packetising interface will
On 21/07/17 08:18, Clemens Ladisch wrote:
What latency you can reach depends on how much other
applications and drivers interfere with the scheduling; on the Pi,
typical culprits are WiFi, ethernet, or USB.
Indeed. Any serial and/or packetising interface will certainly add
_some_ latency.
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.
This is easiest to do if the hardware already has this routing built in.
Otherwise, you have to do the capture and playback in software. See
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
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