T16 mute improve (#7193)

Introduce mute time  on T16
This commit is contained in:
3djc
2019-12-16 07:02:17 +01:00
committed by GitHub
parent bc8d39adbf
commit 9abcee430a
3 changed files with 48 additions and 16 deletions
+3
View File
@@ -512,6 +512,9 @@ class AudioQueue {
bool isEmpty() const { return fragmentsFifo.empty(); };
void wakeup();
bool started() const { return _started; };
#if defined(AUDIO_UNMUTE_DELAY)
tmr10ms_t lastAudioPlayTime = 0;
#endif
AudioBufferFifo buffersFifo;