1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-21 16:11:11 +01:00

bug 11: partial fix: Aggregate Device/Source selection in Device Toolbar

This commit is contained in:
mchinen
2011-01-02 04:06:23 +00:00
parent b1e789122f
commit d22b3b4f5e
4 changed files with 235 additions and 22 deletions

View File

@@ -11,6 +11,7 @@
#ifndef __AUDACITY_DEVICE_TOOLBAR__
#define __AUDACITY_DEVICE_TOOLBAR__
#include <vector>
#include "ToolBar.h"
class wxImage;
@@ -18,6 +19,14 @@ class wxSize;
class wxPoint;
class wxChoice;
typedef struct DeviceSourceMap {
int deviceIndex;
int sourceIndex;
int totalSources;
wxString sourceString;
wxString deviceString;
} DeviceSourceMap;
class DeviceToolBar:public ToolBar {
public:
@@ -48,6 +57,9 @@ class DeviceToolBar:public ToolBar {
wxChoice *mInput;
wxChoice *mOutput;
std::vector<DeviceSourceMap> mInputDeviceSourceMaps;
std::vector<DeviceSourceMap> mOutputDeviceSourceMaps;
public:
DECLARE_CLASS(DeviceToolBar);