diff options
author | Hailey <me@haileyok.com> | 2024-08-09 16:52:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 16:52:23 -0700 |
commit | 65d6e561d429d6759d1eef674a964d1109a1afeb (patch) | |
tree | 083839fab56df7b13afcac312cff8aa22f05e6ac /modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts | |
parent | c2131bb0392487f11b0c31fe68fdd3e847d62142 (diff) | |
download | voidsky-65d6e561d429d6759d1eef674a964d1109a1afeb.tar.zst |
[Video] Resume background audio whenever muting video audio (#4915)
Diffstat (limited to 'modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts')
-rw-r--r-- | modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts b/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts index 5659339fb..81f8c45f4 100644 --- a/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts +++ b/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts @@ -6,11 +6,13 @@ export function getIsReducedMotionEnabled(): boolean { } /** - * Set whether the app's audio should mix with other apps' audio. + * Set whether the app's audio should mix with other apps' audio. Will also resume background music playback when `false` + * if it was previously playing. * @param mixWithOthers + * @see https://developer.apple.com/documentation/avfaudio/avaudiosession/setactiveoptions/1616603-notifyothersondeactivation */ -export function setAudioMixWithOthers(mixWithOthers: boolean): void { - throw new NotImplementedError({mixWithOthers}) +export function setAudioActive(active: boolean): void { + throw new NotImplementedError({active}) } /** |