// 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
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