Re: Will we ever see a low latency/high performance PCM api for usb, firewire, avb ?

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

 



Dne 25. 04. 19 v 22:54 Ralf Beck napsal(a):
> Subject says it all.
> 
> During the Dec/Jan period i did some USB patches for the Motu AVB series and a trivial alsa driver to connect my Motu via AVB for a single i/o stream. So i discovered how totally unsuitable the mmapped ringbuffer model of alsa is for the above types of interfaces. Is there any intention to change this ?
> I've read that this has already been discussed during miniconf 2017 (USB) and 2018 (AVB). Any results?

Any idea to improve the transfer method? The problem with the serial buses is
that you have to queue usually more samples to avoid underruns. The system
scheduling comes to play, too (no direct DMA transfers from the audio buffer
without further main CPU intervention).

Also, you can write only read/write driver without mmap support (ALSA API
supports this mode). But I don't think that it will help much. If you have
problem to find good ring buffer size / period size settings, it's usually
because of the hardware limitation or the system scheduler settings.

					Jaroslav

-- 
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux