diff options
Diffstat (limited to 'test/seq-decoder.c')
-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)); |