mask possble ttsRequests interleaving
This commit is contained in:
parent
4d5451a118
commit
eb167d8cfa
1 changed files with 3 additions and 0 deletions
|
@ -223,6 +223,9 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
||||||
if (--ttsRequests <= 0)
|
if (--ttsRequests <= 0)
|
||||||
abandonAudioFocus();
|
abandonAudioFocus();
|
||||||
log.debug("ttsRequests="+ttsRequests);
|
log.debug("ttsRequests="+ttsRequests);
|
||||||
|
if (ttsRequests < 0) {
|
||||||
|
ttsRequests == 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue