[alsa-devel] split stereo channel into two mono channels in driver

Clemens Ladisch clemens at ladisch.de
Sat Feb 4 12:34:23 CET 2017


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


More information about the Alsa-devel mailing list