1
0
mirror of https://github.com/tooot-app/app synced 2025-01-03 13:10:23 +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 = () => { const audio = () => {
log('log', 'audio', 'setting audio playback default options') log('log', 'audio', 'setting audio playback default options')
Audio.setAudioModeAsync({ Audio.setAudioModeAsync({
interruptionModeIOS: InterruptionModeIOS.MixWithOthers, interruptionModeIOS: InterruptionModeIOS.DuckOthers,
interruptionModeAndroid: InterruptionModeAndroid.DuckOthers, interruptionModeAndroid: InterruptionModeAndroid.DuckOthers,
playsInSilentModeIOS: true, playsInSilentModeIOS: true,
staysActiveInBackground: false staysActiveInBackground: false