Beispiel #1
0
        //cons
        public PluginSettingsWnd(VSTPanel _panel)
        {
            InitializeComponent();

            panel       = _panel;
            plugin      = panel.plugin;
            waveDevices = panel.host.waveDevices;
            midiDevices = panel.midiDevices;

            cbxAudioIn.DataSource  = waveDevices.getInDevNameList();
            cbxAudioOut.DataSource = waveDevices.getOutDevNameList();

            cbxMidiIn.DataSource    = midiDevices.getInDevNameList();
            cbxMidiIn.SelectedIndex = cbxMidiIn.FindString((panel.midiInDevice != null) ? panel.midiInDevice.devName : "no input");

            cbxMidiOut.DataSource = midiDevices.getOutDevNameList();
        }
Beispiel #2
0
 public List <String> getInputDeviceList()
 {
     return(waveDevices.getInDevNameList());
 }