Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uppacat-simple-vchan exits when no output device or microphone is available #3250
Comments
andrewdavidwong
added
bug
C: other
labels
Oct 28, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Oct 28, 2017
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qubesuser commentedOct 28, 2017
Qubes OS version:
R4.0-rc2, and I think R3.2 was affected too
Steps to reproduce the behavior:
Expected behavior:
Audio resumes once the USB audio device is plugged back in.
Also the VM is preferably not aware of the audio device plugging/unplugging, or perhaps it should be configurable whether the VM is told to.
Actual behavior:
pacat-simple-vchan quits upon the USB audio device being unplugged, and thus audio doesn't resume.
General notes:
The problem also happens if there are other devices, but they have no microphone available because they are set to output-only instead of duplex.
Adding a null device by default to PulseAudio works around this, and doing this by default could be a solution; alternatively, pacat could be fixed to work even if it can't create a PulseAudio stream due to no sinks/sources (and of course listen to sink/source changes and recreate the stream when they reappear).