From dcdc1ba2b85bdabc8e396d64386680022a328754 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 14 Nov 2013 15:45:11 +0000 Subject: [PATCH] Comment and #if 1 tidy only --- module_usb_audio/usb_buffer/usb_buffer.xc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module_usb_audio/usb_buffer/usb_buffer.xc b/module_usb_audio/usb_buffer/usb_buffer.xc index 8a4ce701..a8a41f79 100644 --- a/module_usb_audio/usb_buffer/usb_buffer.xc +++ b/module_usb_audio/usb_buffer/usb_buffer.xc @@ -24,7 +24,7 @@ void GetADCCounts(unsigned samFreq, int &min, int &mid, int &max); #define BUFFER_SIZE_OUT (1028 >> 2) #define BUFFER_SIZE_IN (1028 >> 2) -/* Packet buffers for audio data */ +/* Packet nuffers for audio data */ extern unsigned int g_curSamFreqMultiplier; @@ -520,7 +520,6 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud case XUD_SetData_Select(c_midi_to_host, ep_midi_to_host, tmp): asm("#midi d->h"); -#if 1 swap(midi_to_host_buffer, midi_to_host_waiting_buffer); /* The buffer has been sent to the host, so we can ack the midi thread */ @@ -544,7 +543,6 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud { midi_waiting_on_send_to_host = 0; } -#endif break; #endif