Skip to content

Commit 61467a9

Browse files
committed
Block Studio Display Mic for input-only when its Speakers are default output
The VPIO unit behaves the same when not setting an output as when setting the default output device as output. Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1914925.
1 parent f7e50c2 commit 61467a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3323,6 +3323,7 @@ impl<'ctx> CoreStreamData<'ctx> {
33233323
.map(|id| log_device_and_get_model_uid(id, DeviceType::INPUT))
33243324
.unwrap_or_default(),
33253325
out_id
3326+
.or_else(|| get_default_device(DeviceType::OUTPUT))
33263327
.map(|id| log_device_and_get_model_uid(id, DeviceType::OUTPUT))
33273328
.unwrap_or_default(),
33283329
);

0 commit comments

Comments
 (0)