diff --git a/module_usb_audio/usb_buffer/decouple.xc b/module_usb_audio/usb_buffer/decouple.xc index 00fa6a20..85fa3d47 100644 --- a/module_usb_audio/usb_buffer/decouple.xc +++ b/module_usb_audio/usb_buffer/decouple.xc @@ -442,7 +442,7 @@ void handle_audio_request(chanend c_mix_out) if (aud_data_remaining_to_device) { /* Round up to nearest word */ - aud_data_remaining_to_device +=3; + aud_data_remaining_to_device +=3 - (unpackState&0x3); aud_data_remaining_to_device &= (~3); /* Skip the rest of this malformed packet */