theRealCarneiro / pulsemeeter

Replicating voicemeeter routing functionalities in linux with pulseaudio
MIT License
362 stars 18 forks source link

Profile switching #94

Open jayfan0 opened 2 years ago

jayfan0 commented 2 years ago

Hello,

Not sure if this is a feature request or a bug but I have a pair of Jabra Evolve2 40's which have profiles for stereo output (music mode) OR stereo output + mono input (headset mode where the mic is active and the headphones sound mono). Despite the naming, music mode is higher quality, higher bass headphones and when i switch to headset mode it switches to what sounds like mono output with the microphone active.

Pulse audio automatically switches between these profiles depending on whether an application is trying to use the microphone or not. If I'm just listening to music/ audio, its in stereo mode profile with the mic inactive. If I then open an app/ microphone input which needs a microphone pulse automatically switches the profile to enable the mic and I can hear this with a change in sound quality. If i close the app (or turn off the need for it, like hanging up a call), it switches back to stereo profile.

For pulsemeeter I have the microphone set in the hardware input. If the PA profile happens to be set to stereo, pulsemeeter will fail to load, presumably because its unable to find/ load the microphone which isnt available on that pulse profile. However the process will start and I have to kill that in task manager and there is no icon in the system tray.

If the microphone is NOT set in pulsemeeter hardware input and PA is on stereo profile then it loads fine, however the microphone will not be available in the hardware input dropdown.

If PA profile is set to mono with the mic then pulsemeeter loads fine and the mic is in the hardware input.

Since PulseAudio sets the profile based on whether an application is using the microphone, if I want to use pulsemeeter then pulseaudio sets the profile to mono with microphone, simply because the microphone is set in the hardware input. If i remove the microphone from the hardware input, PA switches again to the stereo profile.

I guess all of the above is a "bug"?

The feature request/ fix aspect of this would be to have pulsemeeter be able to "live" switch profiles along with pulseaudio, or use the "Application Input" section to see if there is a "downstream" application that needs the microphone to switch profiles on pulse, rather than pulsemeeter consuming the microphone simply because it is set in the hardware input.

Its a little complicated to explain but I hope this makes sense