From b30292d0144b6f53f97bdb3ee8948401c6d54d0c Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Fri, 4 Sep 2015 11:36:30 +0100 Subject: [PATCH] Comment. --- module_usb_audio/usb_buffer/usb_buffer.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module_usb_audio/usb_buffer/usb_buffer.xc b/module_usb_audio/usb_buffer/usb_buffer.xc index a42fe37f..2e6fdeb3 100644 --- a/module_usb_audio/usb_buffer/usb_buffer.xc +++ b/module_usb_audio/usb_buffer/usb_buffer.xc @@ -317,6 +317,8 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, sofCount = 0; clocks = 0; remnant = 0; + + /* Set g_speed to something sensible. We expect it to get over-written before stream time */ int min, mid, max; GetADCCounts(sampleFreq, min, mid, max); g_speed = mid<<16;