* split stereo channel into two mono channels in driver
@ 2017-02-04 10:47 Farzan Shojaee
2017-02-04 11:34 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: Farzan Shojaee @ 2017-02-04 10:47 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: split stereo channel into two mono channels in driver
2017-02-04 10:47 split stereo channel into two mono channels in driver Farzan Shojaee
@ 2017-02-04 11:34 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2017-02-04 11:34 UTC (permalink / raw)
To: Farzan Shojaee, alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-04 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-04 10:47 split stereo channel into two mono channels in driver Farzan Shojaee
2017-02-04 11:34 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.