* ALSA mixer query
@ 2011-01-27 14:09 Irfan Shaikh
2011-01-28 13:00 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: Irfan Shaikh @ 2011-01-27 14:09 UTC (permalink / raw)
To: alsa-devel@alsa-project.org
Hello all,
I am rendering audio to a PCM playback device (hw:0,0). I also need to render the same audio data to second PCM playback device (hw:0,1).
1) Can i use ALSA mixer APIs so that i give PCM audio data to 1 playback device or some common interface,
but the PCM audio data is rendered to both devices (hw:0,0 and hw:0,1)
Regards
Irfan
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any
virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ALSA mixer query
2011-01-27 14:09 ALSA mixer query Irfan Shaikh
@ 2011-01-28 13:00 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2011-01-28 13:00 UTC (permalink / raw)
To: Irfan Shaikh; +Cc: alsa-devel@alsa-project.org
Irfan Shaikh wrote:
> I am rendering audio to a PCM playback device (hw:0,0). I also need
> to render the same audio data to second PCM playback device (hw:0,1).
>
> 1) Can i use ALSA mixer APIs so that i give PCM audio data to 1
> playback device or some common interface, but the PCM audio data
> is rendered to both devices (hw:0,0 and hw:0,1)
The mixer API ist just an interface to the hardware, so this would
depend on the hardware's capabilities.
However, you could use the plugin mechanism to create a virtual PCM
device that routes its data to two actual devices. See
<http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_multi>.
> SASKEN BUSINESS DISCLAIMER: This message may contain bla bla bla ...
This e-mail contains public information intended for any subscriber of
this mailing list and for anybody else who bothers to read it; it will
be copied, disclosed and distributed to the public. If you think you
are not the intended recipient, please commit suicide immediately.
These terms apply also to any e-mails quoted in, referenced from, or
answering this e-mail, and supersede any confidentiality notices in
those e-mails. Additionally, confidentiality notices in those e-mails
will incur legal processing fees of $42 per line; you have agreed to
this by reading this confidentiality notice.
Regards,
Clemens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-28 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-27 14:09 ALSA mixer query Irfan Shaikh
2011-01-28 13:00 ` Clemens Ladisch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).