Remove volume multiplier

This commit is contained in:
George Norton 2023-04-04 23:34:01 +01:00
parent 14d678a910
commit ce3e6be5bf
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static void _as_audio_packet(struct usb_endpoint *ep) {
// Multiply the outgoing signal with the volume multiple
for (int i = 0; i < samples; i++)
out[i] = out[i] * (int32_t) vol_mul * 4;
out[i] = out[i] * (int32_t) vol_mul;
i2s_stream_write(&i2s_write_obj, userbuf, samples * 4);