Fixed !MIC_PROCESSING_USE_INTERFACE build

This commit is contained in:
Ross Owen
2016-05-20 15:05:37 +01:00
parent 1e25625106
commit 2e97824604
3 changed files with 14 additions and 5 deletions

View File

@@ -29,12 +29,14 @@ int data_1[4*THIRD_STAGE_COEFS_PER_STAGE * MAX_DECIMATION_FACTOR] = {0};
mic_array_frame_time_domain mic_audio[2];
[[combinable]]
void pdm_buffer(streaming chanend c_ds_output[2], chanend c_audio
#ifdef MIC_PROCESSING_USE_INTERFACE
, client mic_process_if i_mic_process
[[combinable]]
#pragma unsafe arrays
void pdm_buffer(streaming chanend c_ds_output[2], chanend c_audio, client mic_process_if i_mic_process)
#else
#pragma unsafe arrays
void pdm_buffer(streaming chanend c_ds_output[2], chanend c_audio)
#endif
)
{
unsigned buffer;
int output[NUM_PDM_MICS];