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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel