Results 1 to 6 of 6

Thread: Output audio to a specific audio output device on a per-program basis

  1. #1
    Join Date
    Feb 2008
    Beans
    9

    Output audio to a specific audio output device on a per-program basis

    Is it possible to route audio to a specific output device on a per-program basis? And if yes, what's the best way?

    So, here's the situation - I have two audio output devices (sound card and HDMI). I would like to have one program output through the HDMI and another program output through the sound card.

    I am using Ubuntu 12.04

  2. #2
    Join Date
    Apr 2005
    Location
    My dreams
    Beans
    3,555
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Output audio to a specific audio output device on a per-program basis

    Yes, you can, easily. Just install the PulseAudio Volume Control utility (pavucontrol).

    Hope that helps.

  3. #3
    Join Date
    Feb 2008
    Beans
    9

    Re: Output audio to a specific audio output device on a per-program basis

    I checked PulseAudio Volume Control, but I did not see any options to change the output device for a specific program.
    I have attached an image of what I see in pavucontrol Playback. I have also attached what I see in my sound settings.

    Screenshot from 2013-05-13 23:50:52.jpgScreenshot from 2013-05-13 23:51:17.jpg

  4. #4
    Join Date
    Apr 2005
    Location
    My dreams
    Beans
    3,555
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Output audio to a specific audio output device on a per-program basis

    Strange, you should be seeing something like what is being shown in the attached screenshot.

    EDIT: just saw your 2nd screenshot. Does the 'speakers' device work when you set it as the default output device?
    Attached Images Attached Images
    Last edited by kostkon; May 14th, 2013 at 05:48 AM.

  5. #5
    Join Date
    Feb 2008
    Beans
    9

    Re: Output audio to a specific audio output device on a per-program basis

    Yes it does.

    I wonder how come I do not see the same options you see...

  6. #6
    Join Date
    Feb 2008
    Beans
    9

    Re: Output audio to a specific audio output device on a per-program basis

    Found a solution from here:

    https://wiki.archlinux.org/index.php...Audio/Examples

    Specifically, choose the default output in Ubuntu's volume control, then in pacmd, run:

    Code:
    load-module module-alsa-sink device=hw:x,x
    Where hw,x is the other output device (the one not set to default).

    Once this is done, then both outputs will show up in pavucontrol.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •