summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-21 13:46:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-21 13:46:57 +0300
commitbbbbc8e18879a5495be1cff78ca78be7a44ac25b (patch)
treecf24ab2e663e6a70250346328825f9c4a4eff45a /src/ui/documentwidget.c
parent8b12e6f56fddc4a10e74591ebf6d9af38a9f0bb5 (diff)
iOS: Background audio; MP3/AAC playback
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index d847c19f..be831829 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -710,6 +710,9 @@ static uint32_t mediaUpdateInterval_DocumentWidget_(const iDocumentWidget *d) {
710 if (document_App() != d) { 710 if (document_App() != d) {
711 return 0; 711 return 0;
712 } 712 }
713 if (get_Window()->isDrawFrozen) {
714 return 0;
715 }
713 static const uint32_t invalidInterval_ = ~0u; 716 static const uint32_t invalidInterval_ = ~0u;
714 uint32_t interval = invalidInterval_; 717 uint32_t interval = invalidInterval_;
715 iConstForEach(PtrArray, i, &d->visibleMedia) { 718 iConstForEach(PtrArray, i, &d->visibleMedia) {