Re: [RFC PATCH v6 11/11] media: viaudm2m: add virtual driver for audio memory to memory

2023-10-16 Thread Hans Verkuil
On 13/10/2023 10:31, Shengjiu Wang wrote: > Audio memory to memory virtual driver use video memory to memory > virtual driver vim2m.c as example. The main difference is > device type is VFL_TYPE_AUDIO and device cap type is V4L2_CAP_AUDIO_M2M. > > The device_run function is a dummy function,

[RFC PATCH v6 11/11] media: viaudm2m: add virtual driver for audio memory to memory

2023-10-13 Thread Shengjiu Wang
Audio memory to memory virtual driver use video memory to memory virtual driver vim2m.c as example. The main difference is device type is VFL_TYPE_AUDIO and device cap type is V4L2_CAP_AUDIO_M2M. The device_run function is a dummy function, which is simply copy the data from input buffer to