13 #define NUM_CHANNELS 2 14 #define MAX_VALUE 0x7FFF // for int16 (16bit samples) 22 #define PEAKHOLD 2000 // Time of peak hold in ms 23 #define LEVELMOVE 100 // Time to lower level in ms, if too slow (in relation to buffer size) - it looks strange on highest segment void VUMETER_Input(int channel)
Analyze the peak meter for the audio input.
void VUMETER_Display(int channel)
Display the peak meter.
void VUMETER_Analyse(void)
Analyse the peak meter value.