[alsa-devel] routing audio stream to multiple devices
I was wondering if it was possible to route a single audio stream to multiple alsa devices or plugins?
For example, I am playing a song and want it to stream to both my sound card at hw:0 and a bluetooth device, an alsa plugin. Is this possible? It seems that configuring asound.conf only lets you route streams serially to a single device at a time. Any info would be greatly appreciated.
Thanks in advance Baek
You can achieve this with pulseaudio, and maybe with alsa's dmix.
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I was wondering if it was possible to route a single audio stream to multiple alsa devices or plugins?
For example, I am playing a song and want it to stream to both my sound card at hw:0 and a bluetooth device, an alsa plugin. Is this possible? It seems that configuring asound.conf only lets you route streams serially to a single device at a time. Any info would be greatly appreciated.
Thanks in advance Baek
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I am trying to do this with dmix, but I can't seem to find a clear cut solution to this? I was under the impression that editing my asound.conf could acheive this? Basically, it seems that you have to make a stream a slave to two different devices. Is this possible?
Thanks Baek
On Thu, Jun 25, 2009 at 6:57 PM, Emilio López buhitoescolar@gmail.comwrote:
You can achieve this with pulseaudio, and maybe with alsa's dmix.
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I was wondering if it was possible to route a single audio stream to multiple alsa devices or plugins?
For example, I am playing a song and want it to stream to both my sound
card
at hw:0 and a bluetooth device, an alsa plugin. Is this possible? It
seems
that configuring asound.conf only lets you route streams serially to a single device at a time. Any info would be greatly appreciated.
Thanks in advance Baek
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I don't really know how to do this on dmix, nor I do know much about alsa or dmix. But I'm quite certain this is achieveable with pulseaudio; I have done it once using the GUI they provide.
Might be of help if you still want to use dmix: http://alsa.opensrc.org/index.php/Dmix
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I am trying to do this with dmix, but I can't seem to find a clear cut solution to this? I was under the impression that editing my asound.conf could acheive this? Basically, it seems that you have to make a stream a slave to two different devices. Is this possible?
Thanks Baek
On Thu, Jun 25, 2009 at 6:57 PM, Emilio López buhitoescolar@gmail.com wrote:
You can achieve this with pulseaudio, and maybe with alsa's dmix.
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I was wondering if it was possible to route a single audio stream to multiple alsa devices or plugins?
For example, I am playing a song and want it to stream to both my sound card at hw:0 and a bluetooth device, an alsa plugin. Is this possible? It seems that configuring asound.conf only lets you route streams serially to a single device at a time. Any info would be greatly appreciated.
Thanks in advance Baek
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701
I'm trying to acheive this with dmix and alsa. I know that pulseaudio can do this, but we are getting rid of pulseaudio on our embedded system and I am trying to find a solution with alsa. I'll take a look at the dmix docs, thanks!
Baek
On Thu, Jun 25, 2009 at 8:02 PM, Emilio López buhitoescolar@gmail.comwrote:
I don't really know how to do this on dmix, nor I do know much about alsa or dmix. But I'm quite certain this is achieveable with pulseaudio; I have done it once using the GUI they provide.
Might be of help if you still want to use dmix: http://alsa.opensrc.org/index.php/Dmix
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I am trying to do this with dmix, but I can't seem to find a clear cut solution to this? I was under the impression that editing my asound.conf could acheive this? Basically, it seems that you have to make a stream a slave to two different devices. Is this possible?
Thanks Baek
On Thu, Jun 25, 2009 at 6:57 PM, Emilio López buhitoescolar@gmail.com wrote:
You can achieve this with pulseaudio, and maybe with alsa's dmix.
2009/6/25 Baek Chang baeksan@ccrma.stanford.edu:
I was wondering if it was possible to route a single audio stream to multiple alsa devices or plugins?
For example, I am playing a song and want it to stream to both my
sound
card at hw:0 and a bluetooth device, an alsa plugin. Is this possible? It seems that configuring asound.conf only lets you route streams serially to a single device at a time. Any info would be greatly appreciated.
Thanks in advance Baek
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
-- Baek Chang baeksan@ccrma.stanford.edu 407-267-6701
participants (2)
-
Baek Chang
-
Emilio López