From: c vw Date: Fri, 6 Jul 2018 13:18:12 +0000 (+0200) Subject: moved some blank space in order to exactly go back to original version X-Git-Url: https://git.rkrishnan.org/simplejson/-?a=commitdiff_plain;h=2c50d08a8893fe36afad0123d089673e4efd9fea;p=pihpsdr.git moved some blank space in order to exactly go back to original version --- diff --git a/vox.c b/vox.c index 204c9b5..5b9cbb2 100644 --- a/vox.c +++ b/vox.c @@ -36,6 +36,7 @@ static int vox_timeout_cb(gpointer data) { return FALSE; } + double vox_get_peak() { double result=peak; return result; @@ -48,7 +49,6 @@ void update_vox(TRANSMITTER *tx) { int i; double sample; peak=0.0; - for(i=0;ibuffer_size;i++) { sample=tx->mic_input_buffer[i*2]; if(sample<0.0) { diff --git a/vox.h b/vox.h index e6a1f3f..34bd48e 100644 --- a/vox.h +++ b/vox.h @@ -19,5 +19,4 @@ extern void update_vox(TRANSMITTER *tx); extern void vox_cancel(); -extern void vox_cw_cancel(); extern double vox_get_peak();