Lines Matching refs:gMicAutoParam
77 static MICAutoParam gMicAutoParam; variable
142 gMicAutoParam.type = MIC_SAMPLING_TYPE_8BIT; in NitroMain()
143 gMicAutoParam.buffer = (void *)gMicData; in NitroMain()
144 gMicAutoParam.size = TEST_BUFFER_SIZE; in NitroMain()
145 gMicAutoParam.rate = MIC_SAMPLING_RATE_8K; in NitroMain()
146 gMicAutoParam.loop_enable = TRUE; in NitroMain()
147 gMicAutoParam.full_callback = NULL; in NitroMain()
148 (void)MIC_StartAutoSampling(&gMicAutoParam); in NitroMain()
189 gMicAutoParam.type = (MICSamplingType)((gMicAutoParam.type + in NitroMain()
191 (void)MIC_StartAutoSampling(&gMicAutoParam); in NitroMain()
199 gMicAutoParam.rate = (u32)(gMicAutoParam.rate / 2); in NitroMain()
200 if (gMicAutoParam.rate < MIC_SAMPLING_RATE_LIMIT) in NitroMain()
202 gMicAutoParam.rate = MIC_SAMPLING_RATE_LIMIT; in NitroMain()
204 (void)MIC_AdjustAutoSampling(gMicAutoParam.rate); in NitroMain()
211 gMicAutoParam.rate = (u32)(gMicAutoParam.rate * 2); in NitroMain()
212 if (gMicAutoParam.rate < MIC_SAMPLING_RATE_LIMIT) in NitroMain()
214 gMicAutoParam.rate = MIC_SAMPLING_RATE_LIMIT; in NitroMain()
216 (void)MIC_AdjustAutoSampling(gMicAutoParam.rate); in NitroMain()
225 gMicAutoParam.loop_enable = (gMicAutoParam.loop_enable + 1) % 2; in NitroMain()
226 (void)MIC_StartAutoSampling(&gMicAutoParam); in NitroMain()
233 SetDrawData(MIC_GetLastSamplingAddress(), gMicAutoParam.type); in NitroMain()
308 if ((gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_8BIT) || in Draw3D()
309 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT) || in Draw3D()
310 (gMicAutoParam.type == MIC_SAMPLING_TYPE_SIGNED_12BIT_FILTER_OFF)) in Draw3D()
526 OS_Printf(" sampling-span: %d , bit-range: ", gMicAutoParam.rate); in PrintfVariableData()
527 switch (gMicAutoParam.type) in PrintfVariableData()
548 if (gMicAutoParam.loop_enable) in PrintfVariableData()