]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Reverted "experimental" change since it only works on fast computers
authorc vw <dl1ycf@darc.de>
Mon, 3 May 2021 07:39:30 +0000 (09:39 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 3 May 2021 07:39:30 +0000 (09:39 +0200)
transmitter.c

index 9eb1d0e8db8ed6ff6f36810e8a7c7077274ebf36..e2c250371052bbd6114eba0c14d4b548feea304a 100644 (file)
@@ -931,14 +931,6 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
           tx->mic_dsp_rate,
           tx->iq_output_rate);
 
-  //
-  // Experimental: set last parameter "bfo" to 1
-  // this should eliminate the "fexchange0: error=-2" messages sometimes seen
-  // BUT this means that wdsp "waits" in fexchange0 for data to become ready.
-  // perhaps this requires moving the fexchange0 call to a separate thread:
-  // add_mic_sample produces that data and sends a signal to the TX thread
-  // that a buffer needs processing.
-  //
   OpenChannel(tx->id,
               tx->buffer_size,
               2048, // tx->fft_size,
@@ -947,7 +939,7 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
               tx->iq_output_rate,
               1, // transmit
               0, // run
-              0.010, 0.025, 0.0, 0.010, 1);
+              0.010, 0.025, 0.0, 0.010, 0);
 
   TXASetNC(tx->id, tx->fft_size);
   TXASetMP(tx->id, tx->low_latency);