Skip to content
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

Watch for moved streams? #149

Open
willstott101 opened this issue May 24, 2022 · 1 comment
Open

Watch for moved streams? #149

willstott101 opened this issue May 24, 2022 · 1 comment

Comments

@willstott101
Copy link
Contributor

willstott101 commented May 24, 2022

Pulseaudio (and presumably other sound servers) will move streams automatically when a soundcard is disconnected.

I'd like to be (at least) able to use pa_stream_get_device_name to verify which device I'm recording, or probably better yet pa_stream_set_moved_callback should result in an exception when iterating?

Would you consider a PR in either of those directions (probably just for pulse as a PoC)? I could possibly test on Windows too, but I may not find the time.

@bastibe
Copy link
Owner

bastibe commented May 25, 2022

I'd absolutely be interested in that! It should be optional, however, since some applications rely on audio coming from a specific sound card, and any change in that sound card should be treated as an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants