mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Removal of numerous trailing spaces, to tidy up spandsp in line with the master
version.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user