This commit is contained in:
Ross Owen
2015-09-04 11:36:30 +01:00
parent 59baec261f
commit b30292d014

View File

@@ -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;