[alsa-devel] split stereo channel into two mono channels in driver
Hi,
I need to modify the driver (I'm not sure, codec driver or platform driver) so that, have two independent mono channels instead of one stereo channel. I'm familiar with structure of ASoC drivers, but I really don't know how can I do it. Can everybody guide me how can I do it? Even a general description would be helpful.
Thanks, Farzan Shojaee
Farzan Shojaee wrote:
I need to modify the driver (I'm not sure, codec driver or platform driver) so that, have two independent mono channels instead of one stereo channel.
The purpose of the driver is to give access to the hardware's capabilities.
If it were possible to have two independent streams, the driver would already provide two devices.
The correct way to do this is to use the dshare plugin in userspace. (This requires that your system uses alsa-lib.)
Regards, Clemens
participants (2)
-
Clemens Ladisch
-
Farzan Shojaee