about summary refs log tree commit diff
path: root/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-08-09 16:52:23 -0700
committerGitHub <noreply@github.com>2024-08-09 16:52:23 -0700
commit65d6e561d429d6759d1eef674a964d1109a1afeb (patch)
tree083839fab56df7b13afcac312cff8aa22f05e6ac /modules/expo-bluesky-swiss-army/src/PlatformInfo/index.ts
parentc2131bb0392487f11b0c31fe68fdd3e847d62142 (diff)
downloadvoidsky-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.ts8
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})
 }
 
 /**