diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-05-02 16:08:36 +0200 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2006-05-02 16:08:36 +0200 |
commit | c3ac7bdf876c4ab438ba16f88627f17dbb122114 (patch) | |
tree | 0a568fb5df34dc0ec93550ce51a4f53a745bd4ae /include/seq.h | |
parent | c445fddab65e508cd5fcc2d7ac8917601b6bc738 (diff) |
add more sequencer port type information bits
Add four new information flags SNDRV_SEQ_PORT_TYPE_HARDWARE, _SOFTWARE,
_SYNTHESIZER, _PORT for sequencer ports. This makes it easier for apps
like Rosegarden to make policy decisions based on the port type.
Diffstat (limited to 'include/seq.h')
-rw-r--r-- | include/seq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/seq.h b/include/seq.h index bb7356f8..8c9b969e 100644 --- a/include/seq.h +++ b/include/seq.h @@ -232,9 +232,14 @@ typedef struct _snd_seq_port_info snd_seq_port_info_t; #define SND_SEQ_PORT_TYPE_MIDI_GS (1<<3) /**< GS compatible device */ #define SND_SEQ_PORT_TYPE_MIDI_XG (1<<4) /**< XG compatible device */ #define SND_SEQ_PORT_TYPE_MIDI_MT32 (1<<5) /**< MT-32 compatible device */ +#define SND_SEQ_PORT_TYPE_MIDI_GM2 (1<<6) /**< General MIDI 2 compatible device */ #define SND_SEQ_PORT_TYPE_SYNTH (1<<10) /**< Synth device */ #define SND_SEQ_PORT_TYPE_DIRECT_SAMPLE (1<<11) /**< Sampling device (support sample download) */ #define SND_SEQ_PORT_TYPE_SAMPLE (1<<12) /**< Sampling device (sample can be downloaded at any time) */ +#define SND_SEQ_PORT_TYPE_HARDWARE (1<<16) /**< driver for a hardware device */ +#define SND_SEQ_PORT_TYPE_SOFTWARE (1<<17) /**< implemented in software */ +#define SND_SEQ_PORT_TYPE_SYNTHESIZER (1<<18) /**< generates sound */ +#define SND_SEQ_PORT_TYPE_PORT (1<<19) /**< connects to other device(s) */ #define SND_SEQ_PORT_TYPE_APPLICATION (1<<20) /**< application (sequencer/editor) */ |