1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Extra samplerates.

This commit is contained in:
John Greb
2014-11-10 15:57:33 +00:00
parent ffe78ae105
commit 84c43d517a
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ void RTLSDRThread::decimate4(SampleVector::iterator* it, const quint8* buf, qint
for (int pos = 0; pos < len + 7; pos += 8) {
xreal = buf[pos+0] - buf[pos+3] + buf[pos+7] - buf[pos+4];
yimag = buf[pos+1] - buf[pos+5] + buf[pos+2] - buf[pos+6];
Sample s( xreal << 3, yimag << 3 );
Sample s( xreal << 4, yimag << 4 );
**it = s;
(*it)++;
}