Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 678 Bytes
#pragma once
#include <QDialog>
#include <alsa/asoundlib.h>
#include "selectmididev.h"
namespace Ui {
class MidiInCfg;
}
class MidiInCfg : public QDialog
{
Q_OBJECT
public:
explicit MidiInCfg(snd_seq_t *seq_hnd, const int dflt_base_note, const int dflt_channel, const bool dflt_gate_set, const midi_addr_t dflt_ma, const bool dflt_all_channels, QWidget *parent = 0);
~MidiInCfg();
int get_base_note();
int get_channel();
bool get_gate_always_set();
midi_addr_t get_midi_transmitter();
bool get_all_channels();
public slots:
void button_select_source();
private:
snd_seq_t *const seq_hnd;
Ui::MidiInCfg *ui;
midi_addr_t ma;
};
You can’t perform that action at this time.