Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"

This reverts commit c6a6c4fedd.
This commit is contained in:
Graham Haddock 2015-01-30 19:08:40 -06:00
parent d3ef43ad37
commit 6ea7395b35
3 changed files with 9 additions and 16 deletions

View file

@ -303,7 +303,7 @@ int freedv_rx(struct freedv *f, short speech_out[], short demod_in[]) {
nin_prev = f->nin;
fdmdv_demod(f->fdmdv, f->fdmdv_bits, &reliable_sync_bit, rx_fdm, &f->nin);
fdmdv_get_demod_stats(f->fdmdv, &f->fdmdv_stats);
f->reliable_sync_bit = reliable_sync_bit;
if (f->fdmdv_stats.sync) {
// printf("\033[97mIn sync. Pass demod_in to Codec, Codec to speech_out\n");
if (reliable_sync_bit == 0) {

View file

@ -65,8 +65,6 @@ struct freedv {
void *callback_state;
int reliable_sync_bit;
};
struct freedv *freedv_open(int mode);