projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a826543
)
Distinguish unset MIDI Patch and bank 0
author
Robin Gareus
<robin@gareus.org>
Tue, 24 Jul 2018 19:30:23 +0000
(21:30 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 24 Jul 2018 21:22:21 +0000
(23:22 +0200)
libs/midi++2/midi++/midnam_patch.h
patch
|
blob
|
history
diff --git
a/libs/midi++2/midi++/midnam_patch.h
b/libs/midi++2/midi++/midnam_patch.h
index f6f5f12edf81a77e2167211b9d42fc58388de1c6..00f28d97ea2a03b0719f069a32c9a44073e1f3ea 100644
(file)
--- a/
libs/midi++2/midi++/midnam_patch.h
+++ b/
libs/midi++2/midi++/midnam_patch.h
@@
-117,7
+117,7
@@
typedef std::list<boost::shared_ptr<Patch> > PatchNameList;
class LIBMIDIPP_API PatchBank
{
public:
- PatchBank (uint16_t n =
0
, std::string a_name = std::string()) : _name(a_name), _number (n) {};
+ PatchBank (uint16_t n =
UINT16_MAX
, std::string a_name = std::string()) : _name(a_name), _number (n) {};
virtual ~PatchBank() { }
const std::string& name() const { return _name; }