diff options
author | Jaroslav Kysela <perex@perex.cz> | 2000-03-10 22:08:40 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2000-03-10 22:08:40 +0000 |
commit | c4cb2694fd11478265672b5687248d215275c561 (patch) | |
tree | a97e671b52901ee5096354b67a304915754a2b5d | |
parent | bcb411c1d7e5acfbff62f0aa87d10c2f3ca89e42 (diff) |
Small cleanup by Frank van de Pol <frank@vande-pol.demon.nl> - timestamp
-rw-r--r-- | test/seq-decoder.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/seq-decoder.c b/test/seq-decoder.c index ed40f407..a87943a3 100644 --- a/test/seq-decoder.c +++ b/test/seq-decoder.c @@ -341,7 +341,7 @@ int decode_event(snd_seq_event_t * ev) break; case SND_SEQ_EVENT_QFRAME: - printf("; frame=%i\n", ev->data.control.value); + printf("; frame=0x%02x\n", ev->data.control.value); break; case SND_SEQ_EVENT_CLOCK: @@ -444,7 +444,9 @@ void event_decoder(snd_seq_t *handle, int argc, char *argv[]) sub.sender.port = SND_SEQ_PORT_SYSTEM_ANNOUNCE; sub.dest.client = client; sub.dest.port = port.port; + sub.queue = queue; sub.exclusive = 0; + sub.convert_time = 1; sub.realtime = 1; if ((err = snd_seq_subscribe_port(handle, &sub))<0) { fprintf(stderr, "Cannot subscribe announce port: %s\n", snd_strerror(err)); |