#ifndef _C_DSP_H_
#define _C_DSP_H_

#include <stdint.h>

// #define AUDIO_T_16

#if defined(AUDIO_T_16)
typedef int16_t AUDIO_T;
#else // defined(AUDIO_T_32)
typedef int32_t AUDIO_T;
#endif

#define FRAME_SIZE          8    //128 samples / 48kHz = 2.6ms

void hid_update(unsigned char hid_data);

// mic level
#define MIN_MIC_LEVEL 0
#define MAX_MIC_LEVEL 9
#define DEFAULT_MIC_LEVEL 5
#endif