Upstream version 1.35R

pull/2/head
Stelios Bounanos 2007-06-22 23:28:41 +01:00
rodzic ffb63c1c97
commit 54de891c56
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
#ifndef _VERSION_H #ifndef _VERSION_H
#define _VERSION_H #define _VERSION_H
#define FLDIGI_VERSION "1.35q" #define FLDIGI_VERSION "1.35R"
#endif #endif

Wyświetl plik

@ -630,7 +630,7 @@ int cSoundPA::Read(double *buf, int count)
float *rbuf = fbuf; float *rbuf = fbuf;
if (req_sample_rate != dev_sample_rate || rxppm != 0) { if (req_sample_rate != dev_sample_rate || progdefaults.RX_corr != 0) {
resample(rbuf, ncount, count); resample(rbuf, ncount, count);
rbuf = rx_src_data->data_out; rbuf = rx_src_data->data_out;
count = rx_src_data->output_frames_gen; count = rx_src_data->output_frames_gen;
@ -650,7 +650,7 @@ int cSoundPA::write_samples(double *buf, int count)
fbuf[2*i] = fbuf[2*i + 1] = buf[i]; fbuf[2*i] = fbuf[2*i + 1] = buf[i];
float *wbuf = fbuf; float *wbuf = fbuf;
if (req_sample_rate != dev_sample_rate || txppm != 0) { if (req_sample_rate != dev_sample_rate || progdefaults.TX_corr != 0) {
resample(wbuf, count); resample(wbuf, count);
wbuf = tx_src_data->data_out; wbuf = tx_src_data->data_out;
count = tx_src_data->output_frames_gen; count = tx_src_data->output_frames_gen;
@ -679,7 +679,7 @@ int cSoundPA::write_stereo(double *bufleft, double *bufright, int count)
} }
float *wbuf = fbuf; float *wbuf = fbuf;
if (req_sample_rate != dev_sample_rate || txppm != 0) { if (req_sample_rate != dev_sample_rate || progdefaults.TX_corr != 0) {
resample(wbuf, count); resample(wbuf, count);
wbuf = tx_src_data->data_out; wbuf = tx_src_data->data_out;
count = tx_src_data->output_frames_gen; count = tx_src_data->output_frames_gen;