Browse Source

Mark jack_midi_reset_buffer as deprecated

tags/v1.9.13
falkTX 7 years ago
parent
commit
394e02b2bb
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      common/jack/midiport.h

+ 3
- 1
common/jack/midiport.h View File

@@ -91,10 +91,12 @@ jack_midi_clear_buffer(void *port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
* @ref jack_midi_event_reserve or @ref jack_midi_event_write. This * @ref jack_midi_event_reserve or @ref jack_midi_event_write. This
* function may not be called on an input port's buffer. * function may not be called on an input port's buffer.
* *
* @deprecated Please use jack_midi_clear_buffer().
*
* @param port_buffer Port buffer to resetted. * @param port_buffer Port buffer to resetted.
*/ */
void void
jack_midi_reset_buffer(void *port_buffer) JACK_OPTIONAL_WEAK_EXPORT;
jack_midi_reset_buffer(void *port_buffer) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;




/** Get the size of the largest event that can be stored by the port. /** Get the size of the largest event that can be stored by the port.


Loading…
Cancel
Save