Audio jack as default output

Post Reply
ste_fan
Posts: 6
Joined: Sun Apr 07, 2019 10:59 pm
languages_spoken: english, german
Has thanked: 1 time
Been thanked: 0
Contact:

Audio jack as default output

Post by ste_fan »

Hi, I connected my Odroid N2 to my Hifi receiver to listen to music. I selected the "audio jack" output in the sound settings in MATE and it works like a charm, see attached screenshot. However, this setting is forgotten after a reboot and the second entry, "Built-in Audio Analog Stereo", is selected.
Is there any way to set the audio jack output as default output?

Thanks and best regards
Stefan
Screenshot at 2019-04-07 16-08-17.png
Screenshot at 2019-04-07 16-08-17.png (44.88 KiB) Viewed 437 times

phaseshifter
Posts: 3548
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 47 times
Been thanked: 46 times
Contact:

Re: Audio jack as default output

Post by phaseshifter »

this issue i have tried to make admin pay attention too and yes it is an issue...after a reboot warm/cold it default`s back to that...the op`s settings don't save...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

Curmudgeon
Posts: 11
Joined: Thu Jan 01, 2015 11:07 pm
languages_spoken: english
ODROIDs: C1, N2, C4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Audio jack as default output

Post by Curmudgeon »

After much frustration and experimentation I edited the file /etc/pulse/client.conf to include a line:
default-sink = line_out

It works for me.
These users thanked the author Curmudgeon for the post:
odroid (Tue Sep 01, 2020 9:28 am)

bk_XU_AZ
Posts: 280
Joined: Sun Sep 08, 2013 3:51 pm
languages_spoken: english
ODROIDs: XU3, U3, XU4, C1+, H2, N2
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: Audio jack as default output

Post by bk_XU_AZ »

Curmudgeon wrote:
Tue Sep 01, 2020 6:30 am
After much frustration and experimentation I edited the file /etc/pulse/client.conf to include a line:
default-sink = line_out

It works for me.
In order to find out the sink index and name (in bash) you can use this:

Code: Select all

pactl list short sinks
Instead of sink, you can substitute "source" or "sources" depending on context to find and set default input both in the shell and in the client.conf file. You can use the index number or the device name.
These users thanked the author bk_XU_AZ for the post:
odroid (Mon Sep 14, 2020 10:41 am)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: Baidu [Spider] and 0 guests