Skip to content

Commit 1bc2abb

Browse files
committed
rename ControlledAudioOutput to iOSControlledAudioOutput
1 parent 4f51881 commit 1bc2abb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const EARPIECE_CONFIG_ID = "earpiece-id";
3131
* to have more control over the device selection process. This is used when the
3232
* `controlledAudioDevices` URL parameter is set, which is currently only true on mobile.
3333
*/
34-
export class ControlledAudioOutput implements MediaDevice<
34+
export class IOSControlledAudioOutput implements MediaDevice<
3535
AudioOutputDeviceLabel,
3636
SelectedAudioOutputDevice
3737
> {

src/state/MediaDevices.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { platform } from "../Platform";
3030
import { switchWhen } from "../utils/observable";
3131
import { type Behavior, constant } from "./Behavior";
3232
import { AndroidControlledAudioOutput } from "./AndroidControlledAudioOutput.ts";
33-
import { ControlledAudioOutput } from "./ControlledAudioOutput.ts";
33+
import { IOSControlledAudioOutput } from "./IOSControlledAudioOutput.ts";
3434

3535
export type DeviceLabel =
3636
| { type: "name"; name: string }
@@ -376,7 +376,7 @@ export class MediaDevices {
376376
getUrlParams().callIntent,
377377
window.controls,
378378
)
379-
: new ControlledAudioOutput(this.usingNames$, this.scope)
379+
: new IOSControlledAudioOutput(this.usingNames$, this.scope)
380380
: new AudioOutput(this.usingNames$, this.scope);
381381

382382
public readonly videoInput: MediaDevice<DeviceLabel, SelectedDevice> =

0 commit comments

Comments
 (0)