easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Starts with weird defaults which doesn't let the sound output plus other questions

Open swingcake opened this issue 8 years ago • 9 comments

The output device setting in PulseEffects' Pulseaudio setting tab is set to none(blank) by default. Also, the output setting in Sound settings of the GNOME shell is set to PulseEffects(mic).

Now, the working conditions are also weird. I don't seem to get a hang of it. It works when:

  • Sound setting : PulseEffects(mic); PulseEffects' Pulseaudio output device : alsa_output.pci-0000_00_1f.3.analog-stereo
  • Sound setting : PulseEffects(apps); PulseEffects' Pulseaudio output device : alsa_output.pci-0000_00_1f.3.analog-stereo

But most of the time it works with the second one which, I think, is intended. Weird, right?

What effects take place with the enable all applications in the general tab?

My input device is set to alsa_input.pci-0000_00_1f.3.analog-stereo by default. But there is also an option for alsa_output.pci-0000_00_1f.3.analog-stereo.monitor. I think the default one is correct in this case. (My output device has only one option which is alsa_output.pci-0000_00_1f.3.analog-stereo)

I'm attaching some screenshots for you to understand better. Thanks in advance.

I'm using Ubuntu 18.04.

screenshot from 2018-05-23 11-29-58

screenshot from 2018-05-23 11-30-13

swingcake avatar May 23 '18 06:05 swingcake

Got to know that this is a known issue. Points 4 and 5 in FAQ.

swingcake avatar May 23 '18 06:05 swingcake

The Enable All Applications setting will make PulseEffects process audio output of all applications. All effects currently enabled by the user should take place. this option is there for people that do not want to individually select which applications will have effect or not.

wwmm avatar May 23 '18 14:05 wwmm

In my case, even with Enable All Applications off, PulseEffects automatically turns on for each of the applications as soon as some media starts playing. For eg, with it turned off and when I play a song in Spotify, it automatically enables Spotify. If I play a media on Chrome, that too turns on in PulseEffects and the effects are applied. If I try to turn off the switch for any application individually, it turns back on.

swingcake avatar May 23 '18 15:05 swingcake

This is very strange. Which device do you have as default sound output? Do not select PulseEffects(apps) as default output device for the system. Use Speakers - Built-in Audio

wwmm avatar May 23 '18 16:05 wwmm

Okay, that makes it work as it should. Just to be sure, I have to unload module-switch-on-connect on every boot so that the default output device does not switch to PulseEffects(apps), and nothing else right? Also, is this the same as manually selecting the output device as Speakers - Built-in Audio after each boot and every plug in/out? Basically, what else do I need to do until it is fixed? I can't use Start service at login because it's mentioned in the FAQ that the module must be unloaded before starting PulseEffects.

swingcake avatar May 24 '18 10:05 swingcake

I think that what ubuntu did was adding a line to the file /etc/pulse/default.pa that loads the module module-switch-on-connect. If you remove this line this module will probably not be loaded and you will be able to use Start service at login.

The issue with module-switch-on-connect is that it thinks that the null sinks PulseEffects(apps) and PulseEffects(mic) loaded by PE are real devices like a usb sound card. As the whole purpose of this module is to automatically switch to these kind of devices when they are plugged it totally breaks PE routing.

Without this module Speakers - Built-in Audio will probably be always the default device. No need to reselect it on everey reboot

wwmm avatar May 24 '18 14:05 wwmm

As of now, I don't think that editing a core file like that is viable. What I'll do is disable Start service at login and run pactl unload-module module-switch-on-connect after each boot, and then open PulseEffects. This should do it, am I right about this?

swingcake avatar May 25 '18 08:05 swingcake

It should work. Another possibility if you do not want to edit a system file is to copy /etc/pulse/default.pa to ~/.config/pulse. Pulseaudio gives priority to user config over system config. This way you do not have to worry about what could happen after packages updates

wwmm avatar May 25 '18 14:05 wwmm

Thank you for your patience, and this amazing application. I'll close the issue now.

swingcake avatar May 25 '18 14:05 swingcake