summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2018-10-09 21:37:39 +0200
committerfalkTX <falktx@gmail.com>2018-10-09 21:37:39 +0200
commit394e02b2bb87ed8dfb0341f274c5b41aded8efdc (patch)
tree215e3726b39e6e4bf702108943b6ca5a365c8c73
parent45f9332f54e8419795e52a46338c1d1e8c7263db (diff)
downloadjack2-394e02b2bb87ed8dfb0341f274c5b41aded8efdc.tar.gz
Mark jack_midi_reset_buffer as deprecated
-rw-r--r--common/jack/midiport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/jack/midiport.h b/common/jack/midiport.h
index 1a7d4e6d..130bdc2c 100644
--- a/common/jack/midiport.h
+++ b/common/jack/midiport.h
@@ -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
* 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.
*/
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.