diff --git a/configure.ac b/configure.ac index a4d6d5e..5e46f37 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl changes are made dnl --- JACK_MAJOR_VERSION=0 JACK_MINOR_VERSION=102 -JACK_MICRO_VERSION=22 +JACK_MICRO_VERSION=23 dnl --- dnl HOWTO: updating the jack protocol version diff --git a/doc/porting.dox b/doc/porting.dox index 27318b3..011e2e9 100644 --- a/doc/porting.dox +++ b/doc/porting.dox @@ -75,17 +75,17 @@ files, found in subdirectories of @c config/os and referenced with a If conditional compilation must be used in mainline platform-independent code, avoid using the system name. Instead, @c -#define a descriptive name in @c , and test it like this: +\#define a descriptive name in @c , and test it like this: @code - #ifdef JACK_USE_MACH_THREADS + \#ifdef JACK_USE_MACH_THREADS allocate_mach_serverport(engine, client); client->running = FALSE; - #endif + \#endif @endcode Be sure to place any generic implementation alternative in the @c -#else or use an @c #ifndef, so no other code needs to know your +\#else or use an @c \#ifndef, so no other code needs to know your conditional labels. @section portcpu Processor Dependencies diff --git a/example-clients/midiseq.c b/example-clients/midiseq.c index a803fe5..f79c74e 100644 --- a/example-clients/midiseq.c +++ b/example-clients/midiseq.c @@ -56,6 +56,7 @@ int process(jack_nframes_t nframes, void *arg) { buffer = jack_midi_event_reserve(port_buf, i, 3, nframes); /* printf("wrote a note on, port buffer = 0x%x, event buffer = 0x%x\n", port_buf, buffer);*/ + buffer[2] = 64; /* velocity */ buffer[1] = note_frqs[j]; buffer[0] = 0x90; /* note on */ } @@ -63,6 +64,7 @@ int process(jack_nframes_t nframes, void *arg) { buffer = jack_midi_event_reserve(port_buf, i, 3, nframes); /* printf("wrote a note off, port buffer = 0x%x, event buffer = 0x%x\n", port_buf, buffer);*/ + buffer[2] = 64; /* velocity */ buffer[1] = note_frqs[j]; buffer[0] = 0x80; /* note off */ }