comparison plugin/api/dssi_alsa_compat.c @ 608:d7f3dfe6f9a4

* solaris build fixes
author Chris Cannam
date Thu, 10 Sep 2009 18:44:45 +0000
parents da6937383da8
children
comparison
equal deleted inserted replaced
607:a67651386253 608:d7f3dfe6f9a4
23 */ 23 */
24 24
25 #define FIXED_EV(x) (_SND_SEQ_TYPE(SND_SEQ_EVFLG_FIXED) | _SND_SEQ_TYPE(x)) 25 #define FIXED_EV(x) (_SND_SEQ_TYPE(SND_SEQ_EVFLG_FIXED) | _SND_SEQ_TYPE(x))
26 26
27 /** Event types conversion array */ 27 /** Event types conversion array */
28 /*
28 const unsigned int snd_seq_event_types[256] = { 29 const unsigned int snd_seq_event_types[256] = {
29 [SND_SEQ_EVENT_SYSTEM ... SND_SEQ_EVENT_RESULT] 30 [SND_SEQ_EVENT_SYSTEM ... SND_SEQ_EVENT_RESULT]
30 = FIXED_EV(SND_SEQ_EVFLG_RESULT), 31 = FIXED_EV(SND_SEQ_EVFLG_RESULT),
31 [SND_SEQ_EVENT_NOTE] 32 [SND_SEQ_EVENT_NOTE]
32 = FIXED_EV(SND_SEQ_EVFLG_NOTE) | _SND_SEQ_TYPE_OPT(SND_SEQ_EVFLG_NOTE_TWOARG), 33 = FIXED_EV(SND_SEQ_EVFLG_NOTE) | _SND_SEQ_TYPE_OPT(SND_SEQ_EVFLG_NOTE_TWOARG),
61 [SND_SEQ_EVENT_USR_VAR0 ... SND_SEQ_EVENT_USR_VAR4] 62 [SND_SEQ_EVENT_USR_VAR0 ... SND_SEQ_EVENT_USR_VAR4]
62 = _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS), 63 = _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS),
63 [SND_SEQ_EVENT_NONE] 64 [SND_SEQ_EVENT_NONE]
64 = FIXED_EV(SND_SEQ_EVFLG_NONE), 65 = FIXED_EV(SND_SEQ_EVFLG_NONE),
65 }; 66 };
66 67 */
67 /** 68 /**
68 * \file seq/seq_midi_event.c 69 * \file seq/seq_midi_event.c
69 * \brief MIDI byte <-> sequencer event coder 70 * \brief MIDI byte <-> sequencer event coder
70 * \author Takashi Iwai <tiwai@suse.de> 71 * \author Takashi Iwai <tiwai@suse.de>
71 * \author Jaroslav Kysela <perex@suse.cz> 72 * \author Jaroslav Kysela <perex@suse.cz>