chn_getpeaks
int chn_getpeaks(struct pcm_channel *c, int *lpeak, int *rpeak);
ret = chn_getpeaks(chn, &lpeak, &rpeak);