mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Distinguish unset MIDI Patch and bank 0
This commit is contained in:
parent
a8265431ad
commit
938b2422e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue