We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f296e68 + 2bb6e8f commit e009756Copy full SHA for e009756
video/audio_channel.h
@@ -273,7 +273,7 @@ uint8_t AudioChannel::setVolume(uint8_t volume) {
273
break;
274
case AudioState::PlayLoop:
275
// we are looping, so an envelope may be active
276
- if (volume == 0 && this->_waveformType != AUDIO_WAVE_SAMPLE) {
+ if (volume == 0) {
277
// silence whilst looping always stops playback - curtail duration
278
this->_duration = millis() - this->_startTime;
279
// if there's a volume envelope, just allow release to happen, otherwise...
0 commit comments