From: c vw <dl1ycf@darc.de>
Date: Fri, 22 Nov 2019 18:25:21 +0000 (+0100)
Subject: Doubled the pixels of the Feedback RX because of John's changes
X-Git-Url: https://git.rkrishnan.org/components/frontends/%22file:/status?a=commitdiff_plain;h=cb69f6d73124bec5c52b9e951637bd59ce4318a0;p=pihpsdr.git

Doubled the pixels of the Feedback RX because of John's changes
---

diff --git a/receiver.c b/receiver.c
index 152a2e5..10a9cac 100644
--- a/receiver.c
+++ b/receiver.c
@@ -816,9 +816,9 @@ fprintf(stderr,"create_pure_signal_receiver: id=%d buffer_size=%d\n",id,buffer_s
     // display only the central part.
     // 
     if (protocol == ORIGINAL_PROTOCOL) {
-	rx->pixels=(sample_rate/48000) * width;
+	rx->pixels=2*(sample_rate/48000) * width;
     } else {
-      rx->pixels = 4*width;
+      rx->pixels = 8*width;
     }
   }
   // allocate buffers
@@ -1182,11 +1182,11 @@ g_print("receiver_change_sample_rate: id=%d rate=%d scale=%d buffer_size=%d outp
   if (rx->id == PS_RX_FEEDBACK) {
     float *fp, *ofp;
     if (protocol == ORIGINAL_PROTOCOL) {
-      rx->pixels = scale * rx->width;
+      rx->pixels = 2* scale * rx->width;
     } else {
       // We should never arrive here, since the sample rate of the
       // PS feedback receiver is fixed.
-      rx->pixels = 4 * rx->width;
+      rx->pixels = 8 * rx->width;
     }
     // make sure pixel_samples is always a valid pointer
     // ... probably pure DL1YCF's paranoia