ALSA: allow to dynamically add/remove midi devices & update their latency.

This commit is contained in:
Robin Gareus
2015-12-04 22:19:47 +01:00
parent ac075560bd
commit bfd2cbaa3f
7 changed files with 92 additions and 33 deletions

View File

@@ -33,7 +33,7 @@ namespace ARDOUR {
class AlsaSeqMidiIO : virtual public AlsaMidiIO {
public:
AlsaSeqMidiIO (const char *port_name, const bool input);
AlsaSeqMidiIO (const std::string &name, const char *port_name, const bool input);
virtual ~AlsaSeqMidiIO ();
protected:
@@ -47,14 +47,14 @@ private:
class AlsaSeqMidiOut : public AlsaSeqMidiIO, public AlsaMidiOut
{
public:
AlsaSeqMidiOut (const char *port_name);
AlsaSeqMidiOut (const std::string &name, const char *port_name);
void* main_process_thread ();
};
class AlsaSeqMidiIn : public AlsaSeqMidiIO, public AlsaMidiIn
{
public:
AlsaSeqMidiIn (const char *port_name);
AlsaSeqMidiIn (const std::string &name, const char *port_name);
void* main_process_thread ();
};