mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove some debug
This commit is contained in:
parent
70e5dbc5a8
commit
3f92d12704
1 changed files with 0 additions and 2 deletions
|
|
@ -70,11 +70,9 @@ class SpeechPlayerItem: AVPlayerItem {
|
|||
DispatchQueue.main.async {
|
||||
if self.speechItem.audioIdx > self.session.currentAudioIndex + 5 {
|
||||
// prefetch has gotten too far ahead of the audio. Pause the prefetch queue
|
||||
print("PAUSING PREFETCH QUEUE", self.speechItem.audioIdx, self.session.currentAudioIndex + 10, self.speechItem.text)
|
||||
prefetchQueue.isSuspended = true
|
||||
}
|
||||
if self.speechItem.audioIdx < self.session.currentAudioIndex + 5 {
|
||||
print("RESUMING PREFETCH QUEUE", self.speechItem.audioIdx, self.session.currentAudioIndex + 5)
|
||||
prefetchQueue.isSuspended = false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue