easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Switch between output devices, Turns off the effect in apps

Open chriztheanvill opened this issue 3 years ago • 8 comments

EasyEffects Version

6.2.4

What package are you using?

Fedora

Distribution

Fedora 35

Describe the bug

Switch between devices: Headphones and speakers, Or speaker and headphones, turns off the effect in apps.

Expected Behavior

Switch between devices, keeps the config.

Debug Log

Debug Log
Paste your log here

Additional Information

No response

chriztheanvill avatar Mar 30 '22 06:03 chriztheanvill

This seems a duplicate of #1393

Do you have the latest 0.4.9 version of wireplumber?

Digitalone1 avatar Mar 30 '22 11:03 Digitalone1

`sudo dnf info wireplumber

Installed Packages Name : wireplumber Version : 0.4.9 Release : 1.fc35 Architecture : x86_64 Size : 266 k Source : wireplumber-0.4.9-1.fc35.src.rpm `

chriztheanvill avatar Mar 30 '22 18:03 chriztheanvill

Which pipewire version?

I'm using wireplumber 0.4.9 with pipewire 0.3.49 and everything is good.

I had the same issue in the past, but the new wireplumber release fixed it.

Try to replace wireplumber with pipewire-media-session. If it's working, it's likely a newer wireplumber issue.

Digitalone1 avatar Mar 30 '22 19:03 Digitalone1

There definitely seems to be a different behaviour with wireplumber.

Processing ("Activation" switch) per app is not persisted across easyeffects restarts either. Though it works with pipewire-media-session.

Even when reinstalling wireplumber, the app state is only persisted until modified, and then the processing is always disabled unless using "process all inputs/outputs'.

quietvoid avatar Apr 05 '22 14:04 quietvoid

Processing ("Activation" switch) per app is not persisted across easyeffects restarts either.

I wonder if WirePlumber is still forcing streams to be moved away from our device in some situations. When the option Process All Outputs is enabled in EasyEffects menu it will try to move streams to our virtual devices. But this does not force the stream to stay there. Third party software and the media session manager can move it somewhere else.

That being said if Process All Outputs is disabled streams will be moved to our devices only if the media session manager or another tool decide to do this.

wwmm avatar Apr 05 '22 15:04 wwmm

I've looked into it further and it seems that restarting easyeffects does not reenable "Activation" for the app unless the app is restarted afterwards as well.

So in summary, the steps:

  • Start wireplumber and easyeffects
  • Open media playing app
  • Enable processing for it through easyeffects
  • Restart easyeffects
  • App audio is not processed anymore
  • ...
  • Restart app
  • Audio is processed again

Note: I've only tested this with Spotify.

quietvoid avatar Apr 05 '22 15:04 quietvoid

I've looked into it further and it seems that restarting easyeffects does not reenable "Activation" for the app unless the app is restarted afterwards as well.

That is weird. I am using WirePlumber and Spotify too but I have no problems restarting EasyEffects. Effects are still applied to Spotify once EasyEffects finishes its initialization. Have in mind that besides the fact I am using Arch Linux I use EasyEffects master branch so I can test the next releases. So somewhere something is different between our systems. Besides the hardware.

wwmm avatar Apr 05 '22 15:04 wwmm

Switch between devices: Headphones and speakers, Or speaker and headphones, turns off the effect in apps.

EasyEffects 6.2.6 has been release today and it is a little smarter when ti comes to handle links in situations where devices are being connected/disconnected. It may have fixed this issue.

wwmm avatar Jun 23 '22 00:06 wwmm

I imagine we can close this issue.

wwmm avatar Jul 27 '23 14:07 wwmm