maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Selecting default "speaker" for calls (https://talk.maemo.org/showthread.php?t=101319)

suicidal_orange 2022-04-09 09:59

Selecting default "speaker" for calls
 
My Xperia is still hanging on while I wait for my Pro1-X but the speaker is completely dead and the headphone sensing doesn't work properly. This means to hear a call I have to answer then switch to the Audio Output app and select headphones (setting the output before answering sends the ringtone to headphones but not the call)

There surely is a way to select a default for this but does anyone know how it would be done?

suicidal_orange 2022-04-09 23:25

Re: Selecting default "speaker" for calls
 
Been doing some digging, looked like I can set a default in /etc/pulse/client.conf but it doesn't do anything on reboot. There's also /lib/udev/rules.d/90-pulseaudio but that has a warning that it will be overwritten on update so that's not the place. /usr/share/pulseaudio/alsa-mixer/profile-sets contains a default.conf but that contains different types of sound rather than linking it to a specific app (unless a call contains a specific type of sound?) Noting these so I know where not to look tomorrow as much as anything as I'm not expecting anyone to have played with this.

nonsuch 2022-04-10 07:43

Re: Selecting default "speaker" for calls
 
Quote:

Originally Posted by suicidal_orange (Post 1573912)
I can set a default in /etc/pulseaudio/client.conf but it doesn't do anything on reboot.

Are you saying it works but reverts back after rebooting?

suicidal_orange 2022-04-10 08:56

Re: Selecting default "speaker" for calls
 
Quote:

Originally Posted by nonsuch (Post 1573914)
Are you saying it works but reverts back after rebooting?

The change in the file stays but after rebooting it's still using the default "output-speaker" where I want it to use "output-wired_headphones". Changing the file without rebooting doesn't change the device in use as it would need the service to restart to re-read the config so it's easier to reboot.

suicidal_orange 2022-04-11 19:28

Re: Selecting default "speaker" for calls
 
Quote:

Originally Posted by suicidal_orange (Post 1573912)
Been doing some digging, looked like I can set a default in /etc/pulse/client.conf but it doesn't do anything on reboot.

After not being woken up by my phone this morning I questioned this and only after changing this back did I get any noise out of my test alarm. So maybe this setting works despite not showing in the Audio Output app? Or maybe my phone is just more broken/temperamental than I thought...


All times are GMT. The time now is 07:32.

vBulletin® Version 3.8.8