Removal of numerous trailing spaces, to tidy up spandsp in line with the master

version.
This commit is contained in:
Steve Underwood
2013-03-14 05:04:43 +08:00
parent 4e812bb263
commit 93bb5ca5c7
130 changed files with 494 additions and 498 deletions

View File

@@ -216,7 +216,7 @@ int echo_can_monitor_line_spectrum_update(const int16_t amp[], int len)
#endif
}
s->in_ptr = 0;
#if defined(HAVE_FFTW3_H)
#if defined(HAVE_FFTW3_H)
fftw_execute(s->p);
#else
fftw_one(s->p, s->in, s->out);
@@ -227,7 +227,7 @@ int echo_can_monitor_line_spectrum_update(const int16_t amp[], int len)
for (i = 0; i < 512; i++)
{
s->spec_re_plot[2*i] = i*4000.0/512.0;
#if defined(HAVE_FFTW3_H)
#if defined(HAVE_FFTW3_H)
s->spec_re_plot[2*i + 1] = 10.0*log10((s->out[i][0]*s->out[i][0] + s->out[i][1]*s->out[i][1])/(256.0*32768*256.0*32768) + 1.0e-10) + 3.14;
#else
s->spec_re_plot[2*i + 1] = 10.0*log10((s->out[i].re*s->out[i].re + s->out[i].im*s->out[i].im)/(256.0*32768*256.0*32768) + 1.0e-10) + 3.14;
@@ -394,7 +394,7 @@ int start_echo_can_monitor(int len)
s->w->end();
s->w->show();
#if defined(HAVE_FFTW3_H)
#if defined(HAVE_FFTW3_H)
s->p = fftw_plan_dft_1d(1024, s->in, s->out, FFTW_BACKWARD, FFTW_ESTIMATE);
for (i = 0; i < 1024; i++)
{
@@ -416,7 +416,7 @@ int start_echo_can_monitor(int len)
}
/*- End of function --------------------------------------------------------*/
void echo_can_monitor_wait_to_end(void)
void echo_can_monitor_wait_to_end(void)
{
fd_set rfds;
int res;
@@ -437,7 +437,7 @@ void echo_can_monitor_wait_to_end(void)
}
/*- End of function --------------------------------------------------------*/
void echo_can_monitor_update_display(void)
void echo_can_monitor_update_display(void)
{
Fl::check();
Fl::check();