// When we programmatically pause audio (e.g. video takes over),
// set this flag so the onPause handler doesn't dispatch setIsPlaying(false)
// and accidentally clear the video player's playing state.
export let ignoreNextAudioPause = false;

export function setIgnoreAudioPause(value: boolean) {
  ignoreNextAudioPause = value;
}
