OSDN Git Service

Remove obsolete seq event entries in seq-decoder
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Dec 2007 14:26:17 +0000 (15:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Dec 2007 14:26:17 +0000 (15:26 +0100)
Removed obsolete seq-devent entries in seq-decoder.

test/seq-decoder.c

index 3a1ed31..b110e98 100644 (file)
@@ -42,6 +42,7 @@ static char *event_names[256] = {
        [SND_SEQ_EVENT_PORT_CHANGE]=    "Port Change",
        [SND_SEQ_EVENT_PORT_SUBSCRIBED]=        "Port Subscribed",
        [SND_SEQ_EVENT_PORT_UNSUBSCRIBED]=      "Port Unsubscribed",
+#if 0
        [SND_SEQ_EVENT_SAMPLE]= "Sample",
        [SND_SEQ_EVENT_SAMPLE_CLUSTER]= "Sample Cluster",
        [SND_SEQ_EVENT_SAMPLE_START]=   "Sample Start",
@@ -51,6 +52,7 @@ static char *event_names[256] = {
        [SND_SEQ_EVENT_SAMPLE_LOOP]=    "Sample Loop",
        [SND_SEQ_EVENT_SAMPLE_POSITION]=        "Sample Position",
        [SND_SEQ_EVENT_SAMPLE_PRIVATE1]=        "Sample Private1",
+#endif
        [SND_SEQ_EVENT_USR0]=   "User 0",
        [SND_SEQ_EVENT_USR1]=   "User 1",
        [SND_SEQ_EVENT_USR2]=   "User 2",
@@ -61,6 +63,7 @@ static char *event_names[256] = {
        [SND_SEQ_EVENT_USR7]=   "User 7",
        [SND_SEQ_EVENT_USR8]=   "User 8",
        [SND_SEQ_EVENT_USR9]=   "User 9",
+#if 0
        [SND_SEQ_EVENT_INSTR_BEGIN]=    "Instr Begin",
        [SND_SEQ_EVENT_INSTR_END]=      "Instr End",
        [SND_SEQ_EVENT_INSTR_INFO]=     "Instr Info",
@@ -80,6 +83,7 @@ static char *event_names[256] = {
        [SND_SEQ_EVENT_INSTR_CLUSTER_GET]=      "Instr Cluster Get",
        [SND_SEQ_EVENT_INSTR_CLUSTER_RESULT]=   "Instr Cluster Result",
        [SND_SEQ_EVENT_INSTR_CHANGE]=   "Instr Change",
+#endif
        [SND_SEQ_EVENT_SYSEX]=  "Sysex",
        [SND_SEQ_EVENT_BOUNCE]= "Bounce",
        [SND_SEQ_EVENT_USR_VAR0]=       "User Var0",