]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Removed audio_open_output from create_receiver since local audio
authorDL1YCF <dl1ycf@darc.de>
Sat, 10 Oct 2020 13:14:17 +0000 (15:14 +0200)
committerDL1YCF <dl1ycf@darc.de>
Sat, 10 Oct 2020 13:14:17 +0000 (15:14 +0200)
options are not yet set when calling create_receiver.

receiver.c

index 3fd94e49a06b29fe3eac7a5c35ffedfc0a50a589..f4893e70b2434d2b353a4d486c5b5589f37f546c 100644 (file)
@@ -1156,10 +1156,13 @@ fprintf(stderr,"RXASetMP %d\n",rx->low_latency);
 
   create_visual(rx);
 
+#if 0
+// now done in radio.c
 fprintf(stderr,"create_receiver: rx=%p id=%d local_audio=%d\n",rx,rx->id,rx->local_audio);
   if(rx->local_audio) {
     if (audio_open_output(rx) < 0) rx->local_audio=0;
   }
+#endif
 
   return rx;
 }