Cleanup, reformat

This commit is contained in:
Charles J. Cliffe
2014-12-16 21:30:03 -05:00
parent a78651687a
commit 9e32ef478d
23 changed files with 348 additions and 368 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public:
void terminate();
protected:
uint32_t sample_rate;
uint32_t sample_rate;
std::atomic<SDRThreadIQDataQueue*> iqDataOutQueue;
std::atomic<SDRThreadIQDataQueue*> iqDataInQueue;
+7 -6
View File
@@ -17,15 +17,16 @@
class SDRThreadCommand {
public:
enum SDRThreadCommandEnum {
SDR_THREAD_CMD_NULL,
SDR_THREAD_CMD_TUNE
SDR_THREAD_CMD_NULL, SDR_THREAD_CMD_TUNE
};
SDRThreadCommand() : cmd(SDR_THREAD_CMD_NULL), int_value(0) {
SDRThreadCommand() :
cmd(SDR_THREAD_CMD_NULL), int_value(0) {
}
SDRThreadCommand(SDRThreadCommandEnum cmd) : cmd(cmd), int_value(0) {
SDRThreadCommand(SDRThreadCommandEnum cmd) :
cmd(cmd), int_value(0) {
}
@@ -39,7 +40,8 @@ public:
unsigned int bandwidth;
std::vector<signed char> data;
SDRThreadIQData(): frequency(0), bandwidth(0) {
SDRThreadIQData() :
frequency(0), bandwidth(0) {
}
@@ -53,7 +55,6 @@ public:
}
};
typedef ThreadQueue<SDRThreadCommand> SDRThreadCommandQueue;
typedef ThreadQueue<SDRThreadIQData> SDRThreadIQDataQueue;