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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to