Re: several second latency with USB audio

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

 



Sergei Steshenko wrote:
> I have developed a piece of code (as LADSPA plugin) which among other things multiplexes one of two input streams into output stream.
>
> Though switching worked, latency was several seconds long instead fraction of a second.
>
> Initially I was debugging the whole issue using a USB audio card with standard USB (coming with the kernel) audio driver.
>
> Because of the latency I suspected a problem with my code, but after creating a special test audio files I've established that the multiplexing happens fast - within my LADSPA host buffer length, as expected. And the buffer length was 1024 samples @44100KHz.

What is the buffer length of the device?
(see /proc/asound/card*/pcm0p/sub0/hw_params)


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
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