On Wed, Oct 23, 2024 at 1:32 PM Vinod Koul <vkoul@xxxxxxxxxx> wrote: > > On 25-09-24, 14:55, Shengjiu Wang wrote: > > This function is base on the accelerator implementation > > for compress API: > > https://patchwork.kernel.org/project/alsa-devel/patch/20240731083843.59911-1-perex@xxxxxxxx/ > > Add it to this patch set. > > > > Audio signal processing also has the requirement for memory to > > memory similar as Video. > > > > This asrc memory to memory (memory ->asrc->memory) case is a non > > real time use case. > > > > User fills the input buffer to the asrc module, after conversion, then asrc > > sends back the output buffer to user. So it is not a traditional ALSA playback > > and capture case. > > > > Because we had implemented the "memory -> asrc ->i2s device-> codec" > > use case in ALSA. Now the "memory->asrc->memory" needs > > to reuse the code in asrc driver, so the patch 1 and patch 2 is for refining > > the code to make it can be shared by the "memory->asrc->memory" > > driver. > > > > Other change is to add memory to memory support for two kinds of i.MX ASRC > > modules. > > Are there any patches for tinycompress to use the new IOCTLs here, I > would like to see those changes as well Yes, just create a pull request here: https://github.com/alsa-project/tinycompress/pull/26 Best regards Shengjiu Wang > > -- > ~Vinod