summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlsaDriver.hpp')
-rw-r--r--src/AlsaDriver.hpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp
index a1de0e7..94dd101 100644
--- a/src/AlsaDriver.hpp
+++ b/src/AlsaDriver.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -95,14 +95,13 @@ private:
}
};
- typedef std::set<snd_seq_addr_t, SeqAddrComparator> Ignored;
- Ignored _ignored;
+ using Ignored = std::set<snd_seq_addr_t, SeqAddrComparator>;
+ using Modules = std::multimap<uint8_t, PatchageModule*>;
+ using PortAddrs = std::map<PatchagePort*, PortID>;
- typedef std::multimap<uint8_t, PatchageModule*> Modules;
- Modules _modules;
-
- typedef std::map<PatchagePort*, PortID> PortAddrs;
- PortAddrs _port_addrs;
+ Ignored _ignored;
+ Modules _modules;
+ PortAddrs _port_addrs;
bool ignore(const snd_seq_addr_t& addr, bool add = true);
};