How can I choose the audio output device in X windows?

May 1, 2019 - 7:42 PM

  • Once you open up an application, such as VLC or MPV or maybe even Chromium and you want to choose which audio output device is going to be used, you would do the following:

    1. Open the application you want to use and begin playback
    2. Check for the 'speaker' icon on your toolbar (in my case, bottom right of screen in tray)
    3. Click on speaker
    4. In '18.04' release you will see the application open and you can click under it to open the audio options for that application. Once the mixer opens, select the box next to 'audio stream on' and select Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series or similar 4a. In 18.04 you will need to fix the setup of Pulseaudio: speaker-test -D hw:0,X -c 2 -r 48000 (where X is 0, 1, 2, etc.)

    If one of the selections produces sound, then add the following lines to the end of /etc/pulse/
    load-module module-alsa-sink device=hw:0,X (where X is the number from above test that worked)
    set-default-sink output 0

    Next, in the volume control panel set the device profile on the configuration tab to 'Off'.
    4b. If you in '18.10' you can simply click the speaker, choose 'Mixer' at the top of the pop-up and switch the audio stream as noted without having to fix Pulseaudio.

    1. This also applies to using bluetooth audio, once you have paired the device, you will need to go through steps 1-3 as above, but instead select your headphones / speaker from the list.


    This post was edited 2019-05-01 19:54:47 -0400
  • problem solved source of power changed. Thank you!