test switchero

This commit is contained in:
Valere
2026-03-13 11:43:13 +01:00
parent d2856ddbda
commit a659b5a079

View File

@@ -397,10 +397,12 @@ class ControlledAudioOutput implements MediaDevice<
combineLatest(
[
this.available$,
merge(
controlledOutputSelection$.pipe(startWith(undefined)),
this.deviceSelection$,
),
this.platform == "android"
? this.deviceSelection$ // On android ignore native forcing the selection (TODO add test to ensure adding a BT device switch to it)
: merge(
controlledOutputSelection$.pipe(startWith(undefined)),
this.deviceSelection$,
),
],
(available, preferredId) => {
this.logger.debug(