diff --git a/video/audio_channel.h b/video/audio_channel.h index 15fe97c..b87c2a2 100644 --- a/video/audio_channel.h +++ b/video/audio_channel.h @@ -273,7 +273,7 @@ uint8_t AudioChannel::setVolume(uint8_t volume) { break; case AudioState::PlayLoop: // we are looping, so an envelope may be active - if (volume == 0 && this->_waveformType != AUDIO_WAVE_SAMPLE) { + if (volume == 0) { // silence whilst looping always stops playback - curtail duration this->_duration = millis() - this->_startTime; // if there's a volume envelope, just allow release to happen, otherwise...