-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
760ab3f
commit 1619930
Showing
35 changed files
with
1,058 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB program | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB program | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# | ||
/* | ||
* Copyright (C) 2014 .. 2019 | ||
* Copyright (C) 2014 .. 2023 | ||
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB program | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -239,7 +239,7 @@ int res; | |
return true; | ||
} | ||
|
||
void limeHandler::stopReader() { | ||
void limeHandler::stopReader () { | ||
close_xmlDump (); | ||
if (!isRunning()) | ||
return; | ||
|
@@ -254,7 +254,7 @@ void limeHandler::stopReader() { | |
} | ||
|
||
int limeHandler::getSamples (std::complex<float> *V, int32_t size) { | ||
std::complex<int16_t> temp [size]; | ||
auto *temp = dynVec (std::complex<int16_t>, size); | ||
|
||
int amount = _I_Buffer. getDataFromBuffer (temp, size); | ||
if (filtering) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# | ||
/* | ||
* Copyright (C) 2014 .. 2017 | ||
* Copyright (C) 2014 .. 2021 | ||
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
|
@@ -472,7 +472,7 @@ mir_sdr_ErrT err; | |
// size still in I/Q pairs | ||
int32_t sdrplayHandler_v2:: | ||
getSamples (std::complex<float> *V, int32_t size) { | ||
std::complex<int16_t> temp [size]; | ||
auto *temp = dynVec (std::complex<int16_t>, size); | ||
int amount = _I_Buffer. getDataFromBuffer (temp, size); | ||
for (int i = 0; i < amount; i ++) | ||
V [i] = std::complex<float> (real (temp [i]) / (float) denominator, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB program | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB program | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
* Jan van Katwijk ([email protected]) | ||
* Lazy Chair Computing | ||
* | ||
* This file is part of the Qt-DAB | ||
* This file is part of Qt-DAB | ||
* | ||
* Qt-DAB is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
|
@@ -151,13 +152,13 @@ int llengths = length - 4; | |
if (getBits (data, offset + 24, 8) == 0) { // no encryption | ||
lOffset = offset + 4 * 8; | ||
do { | ||
// int compInd = getBits (data, lOffset, 8); | ||
int compInd = getBits (data, lOffset, 8); | ||
int flength = getBits (data, lOffset + 8, 16); | ||
// int crc = getBits (data, lOffset + 3 * 8, 8); | ||
#if 0 | ||
fprintf (stderr, "segment %d, length %d\n", | ||
compInd, flength); | ||
for (i = 5; i < flength; i ++) | ||
for (int i = 5; i < flength; i ++) | ||
fprintf (stderr, "%c", buffer [i]); | ||
fprintf (stderr, "\n"); | ||
#endif | ||
|
Oops, something went wrong.