This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Phonon is restoring default mic priority order

Tags: None
(comma "," separated)
User avatar
kde-urbinek
Registered Member
Posts
8
Karma
0
Hello there!

I am not sure if it is proper forum but basically i want change KDE settings :)

I've got weird and annoying issue with capturing device order. To be specific, I've bought Samson C01U USB Studio Condenser and it work out of a box pretty well, no static or noises etc

All i need to do was change priority oc C01U order in systemsettings > multimedia > sound & picture settings (?) > preferred devices > recording
http://nginx.urbinek.eu/_photos/random/phonon.png (but names are polish though)

All application are automatically use this mic as its default UNTIL reboot, after that order is restored (screen above is after reboot)

On fresh launch old, analog source is default one for applications, i can change it again in phonon or per application via pavucontrol
http://nginx.urbinek.eu/_photos/random/pavucontrol.png

But it is quite annoying

What is interesting is that according to pactl default source IS "alsa_input.usb-Samson_Technologies_Samson_C01U-00-C01U.analog-stereo"
Code: Select all
urbinek@haruko:~$ pactl info
Ciąg serwera: /run/user/1000/pulse/native
Wersja protokołu biblioteki: 29
Wersja protokołu serwera: 29
Czy jest lokalny: yes
Indeks klienta: 37
Rozmiar kafla: 65472
Nazwa użytkownika: urbinek
Nazwa komputera: haruko
Nazwa serwera: pulseaudio
Wersja serwera: 5.0
Domyślne określenie próbki: s16le 2ch 44100Hz
Domyślna mapa kanałów: front-left,front-right
Domyślny odpływ: alsa_output.pci-0000_00_14.2.analog-stereo
Domyślne źródło: alsa_input.usb-Samson_Technologies_Samson_C01U-00-C01U.analog-stereo
Ciasteczko: 5966:0abd

Code: Select all
urbinek@haruko:~$ pactl list short sources
0       alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor module-alsa-card.c      s16le 2ch 44100Hz       RUNNING
1       alsa_input.usb-Samson_Technologies_Samson_C01U-00-C01U.analog-stereo    module-alsa-card.c      s16le 2ch 44100Hz       RUNNING
2       alsa_output.pci-0000_00_14.2.analog-stereo.monitor      module-alsa-card.c      s16le 2ch 44100Hz       RUNNING
3       alsa_input.pci-0000_00_14.2.analog-stereo       module-alsa-card.c      s16le 2ch 44100Hz       RUNNING


Also default settings of pulseaudio arent enforcing that:
Code: Select all
urbinek@haruko:~$ grep default /etc/pulse/* | grep -v -e ';' -e "#"
/etc/pulse/default.pa:load-module module-default-device-restore
/etc/pulse/default.pa:set-default-source alsa_input.usb-Samson_Technologies_Samson_C01U-00-C01U.analog-stereo
/etc/pulse/system.pa:load-module module-default-device-restore

(set-default-source was added by me)

and OS info
Code: Select all
urbinek@haruko:~$ kate --version
Qt: 4.8.6
KDE: 4.14.2
Kate: 3.14.2
Code: Select all
urbinek@haruko:~$ konqueror --version
Qt: 4.8.6
KDE: 4.14.2
Konqueror: 4.14.2
urbinek@haruko:~$ lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Debian
Description:    Debian GNU/Linux 8.4 (jessie)
Release:        8.4
Codename:       jessie


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]