Re: [alsa-devel] Alsa-devel Digest, Vol 126, Issue 233
Hello Clemens, hello Alsa Developers,
thank you for your interest and answer to my question.
Why is the behaviour hardware dependent? As long as the I2S' are synced at the inputs of the SoC, are the relative differences / phases preserved during processing and is this ensured?
I would like to use a device with multiple I2S-inputs and outputs, as far as available and supported by the ALSA drivers.
Is this driver dependent? Are there drivers which take special effort to preserve the relative position of channels?
Kind regards
Date: Wed, 23 Aug 2017 15:41:36 +0200 From: Clemens Ladisch clemens@ladisch.de To: alsa-devel@alsa-project.org Subject: Re: [alsa-devel] Fixed latency between multiple channels Message-ID: b6c4c2f2-a01c-fc06-e1bb-73e14b3cf56c@ladisch.de Content-Type: text/plain; charset=us-ascii
cuhl@eit.uni-kl.de wrote:
I've read, that even with a realtime kernel the input-output latency varies with time - especially if USB is inbetween.
Yes, USB cam have a small but unknown delay between playback and capture.
I expect to require a fixed latency between multiple ( I2S ) channels.
So every channel's signal shall be exactly determined to its relative position with respect to the other channels, e. g. it shall be known inside the system which events occured simultanously.
Likewise, the processed or generated signals shall be transferred to the outputs in a way, that they occur there with intended and modifiable relative latency to each other.
This is essentially a hardware problem.
Can't you just use a single device with many channels?
Regards, Clemens
cuhl@eit.uni-kl.de wrote:
Why is the behaviour hardware dependent?
It depends on how many clocks and DMA engines are used, and if there are multiple ones, if and how they are synchronized.
As long as the I2S' are synced at the inputs of the SoC
What SoC?
If there is a single SoC, it's likely that all channels are indeed synchonrized.
I would like to use a device with multiple I2S-inputs and outputs
Why I²S? Do you already have a SoC or a bunc of codecs that you want to use? What are your constraints?
Regards, Clemens
participants (2)
-
Clemens Ladisch
-
cuhl@eit.uni-kl.de