From c39d1a665d265b80770f62fed565854ed1578426 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 24 Apr 2002 10:38:41 +0000 Subject: [PATCH] Enhanced description of snd_rawmidi_nonblock() --- src/rawmidi/rawmidi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rawmidi/rawmidi.c b/src/rawmidi/rawmidi.c index 05eb24fc..24994901 100644 --- a/src/rawmidi/rawmidi.c +++ b/src/rawmidi/rawmidi.c @@ -436,6 +436,9 @@ int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t *rawmidi, struct pollfd * * \param rawmidi RawMidi handle * \param nonblock 0 = block, 1 = nonblock mode * \return 0 on success otherwise a negative error code + * + * The nonblock mode cannot be used when the stream is in + * #SND_RAWMIDI_APPEND state. */ int snd_rawmidi_nonblock(snd_rawmidi_t *rawmidi, int nonblock) { -- 2.47.1