From da5f0701a777944f865d38001c965f2a226e6310 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 21 Aug 2015 12:11:02 +0100 Subject: [PATCH] Comment & whitespace only. --- module_usb_audio/usb_buffer/decouple.xc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module_usb_audio/usb_buffer/decouple.xc b/module_usb_audio/usb_buffer/decouple.xc index 5cfafc9e..89a8844e 100644 --- a/module_usb_audio/usb_buffer/decouple.xc +++ b/module_usb_audio/usb_buffer/decouple.xc @@ -580,6 +580,9 @@ static inline void SetupZerosSendBuffer(XUD_ep aud_to_host_usb_ep, unsigned samp /* Mark EP ready with the zero buffer. Note this will simply update the packet size * if it is already ready */ + + /* g_aud_to_host_buffer is already set to g_aud_to_host_zeros */ + GET_SHARED_GLOBAL(p, g_aud_to_host_buffer); XUD_SetReady_InPtr(aud_to_host_usb_ep, p+4, mid); @@ -718,7 +721,7 @@ void decouple(chanend c_mix_out SET_SHARED_GLOBAL(totalSampsToWrite, 0); /* Set buffer to send back to zeros buffer */ - SET_SHARED_GLOBAL(g_aud_to_host_buffer,g_aud_to_host_zeros); + SET_SHARED_GLOBAL(g_aud_to_host_buffer, g_aud_to_host_zeros); /* Update size of zeros buffer */ SetupZerosSendBuffer(aud_to_host_usb_ep, sampFreq, g_curSubSlot_In);