Browse Source

[0.102.23] jack_midiseq patch from Dave Robillard;

fix doxygen warning messages

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@990 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.109.0
joq 19 years ago
parent
commit
5d89e1da69
3 changed files with 7 additions and 5 deletions
  1. +1
    -1
      configure.ac
  2. +4
    -4
      doc/porting.dox
  3. +2
    -0
      example-clients/midiseq.c

+ 1
- 1
configure.ac View File

@@ -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


+ 4
- 4
doc/porting.dox View File

@@ -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 <config.h>, and test it like this:
\#define a descriptive name in @c <config.h>, 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


+ 2
- 0
example-clients/midiseq.c View File

@@ -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 */
}


Loading…
Cancel
Save