1
0
mirror of https://github.com/tooot-app/app synced 2024-12-22 07:34:06 +01:00

Update audio.ts

This commit is contained in:
xmflsct 2022-12-04 16:05:35 +01:00
parent 35bf588b75
commit fc06e4c629

View File

@ -4,7 +4,7 @@ import log from './log'
const audio = () => {
log('log', 'audio', 'setting audio playback default options')
Audio.setAudioModeAsync({
interruptionModeIOS: InterruptionModeIOS.MixWithOthers,
interruptionModeIOS: InterruptionModeIOS.DuckOthers,
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
playsInSilentModeIOS: true,
staysActiveInBackground: false