Skip to content

Handle default output device change by capturing from new device#2

Merged
quantum5 merged 1 commit intomasterfrom
device-change
Jan 9, 2020
Merged

Handle default output device change by capturing from new device#2
quantum5 merged 1 commit intomasterfrom
device-change

Conversation

@quantum5
Copy link
Owner

@quantum5 quantum5 commented Jan 9, 2020

For example, when Bluetooth headphones connect, the default output device changes from the speaker to the headphones, but winscap would continue to capture from the speakers.

Also, when Bluetooth headphones disconnect, winscap hits AUDCLNT_E_DEVICE_INVALIDATED and exits with error.

This PR allows it to seamlessly switch between devices instead, provided that they all can capture at a common channel count, bit depth and sample rate.

@quantum5 quantum5 merged commit 837d713 into master Jan 9, 2020
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

Successfully merging this pull request may close these issues.

1 participant