From e0ed8354e7afdc56f23385e1062afaf691abd465 Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 26 May 2021 16:38:25 +0200 Subject: [PATCH] Do not Nullify the audio playback handle, rather use the existence of the audio buffer within the audio modules as an indicator for "stream ready" --- receiver.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/receiver.c b/receiver.c index cf60abc..80d44ce 100644 --- a/receiver.c +++ b/receiver.c @@ -925,7 +925,6 @@ fprintf(stderr,"create_pure_signal_receiver: id=%d buffer_size=%d\n",id,buffer_s rx->agc_hang_threshold=0.0; rx->local_audio_buffer=NULL; - rx->playback_handle=NULL; rx->local_audio_buffer_size=2048; rx->local_audio=0; g_mutex_init(&rx->local_audio_mutex); @@ -1059,7 +1058,6 @@ fprintf(stderr,"create_receiver: id=%d default adc=%d\n",rx->id, rx->adc); rx->local_audio=0; g_mutex_init(&rx->local_audio_mutex); - rx->playback_handle=NULL; rx->local_audio_buffer=NULL; rx->local_audio_buffer_size=2048; rx->audio_name=NULL; -- 2.45.2