From fa70787d9a66d8b1455a82df5735065abd99cc92 Mon Sep 17 00:00:00 2001 From: Victor Gridnevsky Date: Fri, 5 Mar 2021 16:39:17 +0300 Subject: [PATCH] Closes #7 --- doc/conf.py | 2 +- include/midi/midi_handling.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index cd5cbe2..85633bf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -22,7 +22,7 @@ author = '6r1d' # The full version, including alpha/beta/rc tags -release = '0.1' +release = '0.1.5' # -- General configuration --------------------------------------------------- diff --git a/include/midi/midi_handling.h b/include/midi/midi_handling.h index 3820b28..6adaa83 100644 --- a/include/midi/midi_handling.h +++ b/include/midi/midi_handling.h @@ -379,8 +379,9 @@ int start_output_seq(Alsa_MIDI_data * amidi_data) { * :c:data:`SND_SEQ_PORT_CAP_WRITE` | :c:data:`SND_SEQ_PORT_CAP_SUBS_WRITE` * :param port_number: use -1 for counting ports and a port number to get port info (in that case a function returns 1). * - * :returns: port ID, 1 when a port number is provided, - * 0 otherwise + * :returns: port ID when a port is found, + * 1 when a port ID is provided, + * 0 when a port ID is not found */ unsigned int port_info( snd_seq_t * seq,