diff --git a/src/AudioOutputPWM.cpp b/src/AudioOutputPWM.cpp index 6d907540..284bff92 100644 --- a/src/AudioOutputPWM.cpp +++ b/src/AudioOutputPWM.cpp @@ -89,6 +89,9 @@ bool AudioOutputPWM::ConsumeSample(int16_t sample[2]) { ms[LEFTCHANNEL] = ms[RIGHTCHANNEL] = (ttl>>1) & 0xffff; } + ms[LEFTCHANNEL] = Amplify(ms[LEFTCHANNEL]); + ms[RIGHTCHANNEL] = Amplify(ms[RIGHTCHANNEL]); + if (pwm.available()) { pwm.write((int16_t) ms[0]); pwm.write((int16_t) ms[1]);