blob: 74c18d7d9419332ae1cd0a361703ee9ac1326099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//=========================================================
// MusE
// Linux Music Editor
// $Id: globaldefs.h,v 1.3.2.1 2009/05/03 04:14:00 terminator356 Exp $
//
// (C) Copyright 2000 Werner Schweer (ws@seh.de)
//=========================================================
#ifndef __GLOBALDEFS_H__
#define __GLOBALDEFS_H__
// Midi Type
// MT_GM - General Midi
// MT_GS - Roland GS
// MT_XG - Yamaha XG
enum MType { MT_UNKNOWN=0, MT_GM, MT_GS, MT_XG };
enum AutomationType {
AUTO_OFF, AUTO_READ, AUTO_TOUCH, AUTO_WRITE
};
const int MAX_CHANNELS = 2; // max audio channels
const int MAX_PLUGINS = 4; // plugins in mixer rack
//const int MIDI_PORTS = 32; // max Number of Midi Ports
const int MIDI_PORTS = 200; // max Number of Midi Ports
#ifndef MIDI_CHANNELS
#define MIDI_CHANNELS 16 // Channels per Port
#endif
#endif
|