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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user