New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make next-sink
also iterate the sink ports
#60
Comments
The ports are indicated with a forward slash after the name, and then the port name. |
I'm not sure if I understand, and it may be because of my unfamiliarity with pulseaudio. When my headphones are active I have:
but when I switch to speakers, this becomes
The sinks and ports seem to completely change. When running |
Sorry for the late response. Unfortunately, this script doesn't iterate sink ports, only the sinks themselves. I'll modify this issue's title to make it a feature request, but I won't be able to work on it for now, as I don't have enough time. |
next-sink
also iterate the sink ports
I noticed an issue, too, regarding the ports. If a sink as no available port (because no HDMI device is plugged in, for example), PulseAudio does not allow you to set this sink as new default, and therefore cycling through them with Implementing this enhancement would also solve this bug, as those sinks with no ports would just be skipped in the nextSync loop. Log: Three executions. The first one changes from the USB Headset to the next sink, which has no available ports. PulseAudio does fail silently when trying to set the default sink to it. The second iteration sees the default sink is still the USB Headset and tries again to set the default sink to the sink with the disabled port, which fails again, and so on.
|
For example, my speakers are on
alsa_output.pci-0000_2f_00.4.iec958-stereo
whereas my headphones arealsa_output.pci-0000_2f_00.4.analog-stereo
. Runningpulseuadio-control next-sink
doesn't identify the alternate port and stays on whichever I'm on.I'm currently using indicator-sound-switcher which seems to identify both ports, so there may be an idea there but I've yet to dig around.
Thanks!
The text was updated successfully, but these errors were encountered: