Re: several second latency with USB audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






Воскресенье, 10 января 2016, 22:40 +01:00 от Clemens Ladisch <cladisch@xxxxxxxxxxxxxx>:

Sergei Steshenko wrote:
>> Пятница, 8 января 2016, 10:14 +01:00 от Clemens Ladisch <cladisch@xxxxxxxxxxxxxx>:
>> Sergei Steshenko wrote:
>>> Понедельник, 4 января 2016, 18:45 +01:00 от Clemens Ladisch < cladisch@xxxxxxxxxxxxxx >:
>>> What is the buffer length of the device?
>>> (see /proc/asound/card*/pcm0p/sub0/hw_params)
>>>
>>> "buffer_size: 262144", and 262144/48000 is about 5.46 seconds - feels about right.
>>
>> The audio device is configured by whatever program actually writes to it,
>> probably your host. What is it? How is it configured?
>
> the program is 'ecasound'.

And how have you configured ecasound? Is it using Jack? If yes, how have
you configured Jack?


Regards,
Clemens
Ecasound does not use Jack, and I used '-b 1024' on command line. I.e. buffer length in ecasound 1024 samples.

Again, the same audio gig shows different latencies, and, as I have written earlier, different buffer lengths, depending on USB vs non-USB audio.

Is there a default buffer length which does not depend on  the application ? Is udev involved ? If yes, how can I check it and change settings ?

I did perform web search before writing here, and IIRC in 2.6.* kernels there was a module parameter determining latency - see in http://ubuntuforums.org/showthread.php?t=1608913  "options snd-usb-audio nrpacks=1", but if I understand correctly, the option is no longer available.

Regards,
  Sergei.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux