]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Enhanced description of snd_rawmidi_nonblock()
authorJaroslav Kysela <perex@perex.cz>
Wed, 24 Apr 2002 10:38:41 +0000 (10:38 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Apr 2002 10:38:41 +0000 (10:38 +0000)
src/rawmidi/rawmidi.c

index 05eb24fc06584a895acec69e12eb2309e438211d..24994901512c898fff030eacf0fb0d85e9c65511 100644 (file)
@@ -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)
 {