Update of /cvsroot/alsa/alsa-lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv32000
Modified Files:
playmidi1.c
Log Message:
fixed the type prefix of printd for the time (unsigned long).
Index: playmidi1.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/test/playmidi1.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- playmidi1.c 12 Mar 2002 20:14:35 -0000 1.22
+++ playmidi1.c 14 Jul 2003 10:23:16 -0000 1.23
@@ -265,7 +265,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
+ printf("%ld: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
set_event_header(&ev);
snd_seq_ev_set_noteon(&ev, chan, pitch, vol);
write_ev(&ev);
@@ -277,7 +277,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
+ printf("%ld: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
set_event_header(&ev);
snd_seq_ev_set_noteoff(&ev, chan, pitch, vol);
write_ev(&ev);
@@ -289,7 +289,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: Program (%d) %d\n", Mf_currtime, chan, program);
+ printf("%ld: Program (%d) %d\n", Mf_currtime, chan, program);
set_event_header(&ev);
snd_seq_ev_set_pgmchange(&ev, chan, program);
write_ev(&ev);
@@ -301,7 +301,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: Control (%d) %d %d\n", Mf_currtime, chan, control, value);
+ printf("%ld: Control (%d) %d %d\n", Mf_currtime, chan, control, value);
set_event_header(&ev);
snd_seq_ev_set_controller(&ev, chan, control, value);
write_ev(&ev);
@@ -313,7 +313,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb);
+ printf("%ld: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb);
set_event_header(&ev);
snd_seq_ev_set_pitchbend(&ev, chan, (lsb + (msb << 7)) - 8192);
write_ev(&ev);
@@ -324,7 +324,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: KeyPress (%d) %d %d\n", Mf_currtime, chan, pitch,
pressure);
+ printf("%ld: KeyPress (%d) %d %d\n", Mf_currtime, chan, pitch,
pressure);
set_event_header(&ev);
snd_seq_ev_set_keypress(&ev, chan, pitch, pressure);
write_ev(&ev);
@@ -335,7 +335,7 @@
snd_seq_event_t ev;
if (verbose >= VERB_EVENT)
- printf("%d: ChanPress (%d) %d\n", Mf_currtime, chan, pressure);
+ printf("%ld: ChanPress (%d) %d\n", Mf_currtime, chan, pressure);
set_event_header(&ev);
snd_seq_ev_set_chanpress(&ev, chan, pressure);
write_ev(&ev);
@@ -347,7 +347,7 @@
if (verbose >= VERB_MUCH) {
int c;
- printf("%d: Sysex, len=%d\n", Mf_currtime, len);
+ printf("%ld: Sysex, len=%d\n", Mf_currtime, len);
for (c = 0; c < len; c++) {
printf(" %02x", (unsigned char)msg[c]);
if (c % 16 == 15)
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog