[alsa-devel] [PATCH - JACK plugin 1/4] jack: Do not Xrun the ALSA buffer

twischer at de.adit-jv.com twischer at de.adit-jv.com
Fri Mar 2 17:21:11 CET 2018


Hello Takashi,

The following patches introduce two helper functions:
- snd_pcm_ioplug_hw_avail() Provides the available frames for the hardware/DMA
- snd_pcm_areas_copy_wrap() considers the buffer_size to split the copy operation into several parts

With the usage of this helper functions the complexity of the JACK plugin is reduced.
Please have a look and give some feedback.

I have not yet compiled nor tested it.

Best regards

Timo



More information about the Alsa-devel mailing list