From: c vw Date: Sun, 23 May 2021 08:41:13 +0000 (+0200) Subject: do not nullify the playback handle when creating the receiver X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=bec9882ca4958f3a185fc669c6aac0ccd78bc86d;p=pihpsdr.git do not nullify the playback handle when creating the receiver --- diff --git a/receiver.c b/receiver.c index c6ffc05..80d44ce 100644 --- a/receiver.c +++ b/receiver.c @@ -924,7 +924,6 @@ fprintf(stderr,"create_pure_signal_receiver: id=%d buffer_size=%d\n",id,buffer_s rx->agc_slope=35.0; rx->agc_hang_threshold=0.0; - rx->playback_handle=NULL; rx->local_audio_buffer=NULL; rx->local_audio_buffer_size=2048; rx->local_audio=0; @@ -1057,7 +1056,6 @@ fprintf(stderr,"create_receiver: id=%d default adc=%d\n",rx->id, rx->adc); rx->agc_slope=35.0; rx->agc_hang_threshold=0.0; - rx->playback_handle=NULL; rx->local_audio=0; g_mutex_init(&rx->local_audio_mutex); rx->local_audio_buffer=NULL;