mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-05 14:25:30 +00:00
Revert "Add reliable_sync_bit to FreeDV structure and handle audio passthrough in sched_waveform"
This reverts commit c6a6c4fedd.
This commit is contained in:
parent
d3ef43ad37
commit
6ea7395b35
3 changed files with 9 additions and 16 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -65,8 +65,6 @@ struct freedv {
|
|||
|
||||
void *callback_state;
|
||||
|
||||
int reliable_sync_bit;
|
||||
|
||||
};
|
||||
|
||||
struct freedv *freedv_open(int mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue