PCPanel icon indicating copy to clipboard operation
PCPanel copied to clipboard

Support for multiple streams for single process

Open CyberPenguin opened this issue 3 years ago • 4 comments

Tested on Fedora 37

When controlling audio for a process, the slider or knob does not control all related streams if there is multiple.

An example of this would be if you had multiple tabs open in FireFox playing audio.

Seeing this feature implemented would be appreciated.

CyberPenguin avatar Nov 22 '22 19:11 CyberPenguin

This should be fixed in v1.6-SNAPSHOT 110 and higher.

nvdweem avatar Nov 26 '22 15:11 nvdweem

Thanks so much tested with multiple Firefox streams and its working like a dream.

This is a bit cheeky but I use an application called Mumble for talking with friends and for some reason the panel doesn't seem to be able to control it. This was what actually highlighted the multi stream support requirement originally for me. I don't suppose you could have a look at why its not working?

I know this is probably a separate issue now as multi stream support is working.

CyberPenguin avatar Nov 26 '22 19:11 CyberPenguin

It seems that Mumble doesn't register with a PID or Executable with PulseAudio. The sessions were grouped by PID which meant that the Mumble session would be filtered out. I made a change which should allow sessions that don't have a PID but do have a title to be controlled. This seems to help. It does mean that multiple sessions for the same PID are now listed multiple times. I might filter out the duplicates later but for now I'm wondering if the change fixes controlling Mumble for you.

I haven't actually tested any audio from Mumble but the volume control UI shows that the volume gets changed now. The fix should be in the 111 build which should be done building in a few minutes.

nvdweem avatar Nov 26 '22 21:11 nvdweem

Tested and working, you are a hero thank you so much.

CyberPenguin avatar Nov 27 '22 14:11 CyberPenguin