You are not logged in.

#1 2012-02-08 23:50:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

simultaneous digital and analog with pulseaudio [solved]

Goal: have pulse audio output audio over HDMI and through line-out.

I found this thread which details two potential solutions to this problem.  The more complex one isn't appealing to me, but the simplistic one quoted below is... but I can't seem to get it to work.

doorknob60 wrote:

Or easier solution this should work: open paprefs -> Simultaneous Output tab -> Check the box -> Switch to the virtual device in gnome's settings or pavucontrol

That's what I do to simultaneously output to my speakers and to HDMI, so I'd assume it would work for you too, even though you seem to have already figured it out.

Is anyone successfully doing it?  My problem is that within pavucontrol>playback I cannot seem to select both the analog and hdmi sources.  For example, I have mplayer playing a movie (should be HDMI) and mpd playing music (should be analog).  My only two options under pavucontrol>playback are:

*Internal Audio Analog Stereo
*Simultaneous output to Internal Audio Analog Stereo

I have no option for HDMI.

Last edited by graysky (2012-02-09 00:44:53)

Offline

#2 2012-02-09 00:44:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: simultaneous digital and analog with pulseaudio [solved]

Got it!  The key was understanding that whatever is selected in the GUI is the default device.  I therefore selected HDMI as the device and added the following to
/etc/pulse/default.pa

### Load analog device
load-module module-alsa-sink device=hw:0,0
load-module module-combine-sink sink_name=combined
set-default-sink combined

After a restart of pulseaudio, I simply went into pavucontrol and defined which program would use which device.  I'll update the wiki with these when I have some time.  Thanks to doorknob60 for his original post.

EDIT: https://wiki.archlinux.org/index.php/Pu … log_Output

Last edited by graysky (2012-04-25 22:45:43)

Offline

Board footer

Powered by FluxBB