mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-08-18 17:33:37 -04:00
Initial commit: Antenna support, Enhanced Settings menu, Enhanced SDR device dialog
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
|
||||
#define wxID_SETTINGS_BASE 2300
|
||||
|
||||
#define wxID_ANTENNA_CURRENT 2500
|
||||
#define wxID_ANTENNAS_BASE 2501
|
||||
|
||||
#define wxID_DEVICE_ID 3500
|
||||
|
||||
#define wxID_AUDIO_BANDWIDTH_BASE 9000
|
||||
@@ -192,6 +195,12 @@ private:
|
||||
std::map<int,RtAudio::DeviceInfo> outputDevices;
|
||||
std::map<int, wxMenuItem *> outputDeviceMenuItems;
|
||||
std::map<int, wxMenuItem *> sampleRateMenuItems;
|
||||
std::map<int, wxMenuItem *> antennaMenuItems;
|
||||
|
||||
//depending on context, maps the item id to wxMenuItem*,
|
||||
//OR the submenu item id to its parent wxMenuItem*.
|
||||
std::map<int, wxMenuItem *> settingsMenuItems;
|
||||
|
||||
std::map<int, wxMenuItem *> audioSampleRateMenuItems;
|
||||
std::map<int, wxMenuItem *> directSamplingMenuItems;
|
||||
wxMenuBar *menuBar;
|
||||
@@ -207,6 +216,8 @@ private:
|
||||
int settingsIdMax;
|
||||
std::vector<long> sampleRates;
|
||||
long manualSampleRate = -1;
|
||||
|
||||
std::vector<std::string> antennaNames;
|
||||
|
||||
std::string currentSessionFile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user