From: bugtrack@alsa-project.org Subject: [ALSA - lib 0001821]: snd_rawmidi_read is blocking for "virtual" midi, even with SND_RAWMIDI_NONBLOCK flag Date: Sun, 5 Feb 2006 16:17:49 +0100 Message-ID: <877dc65c0f1d10a55802a6656bb83091@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 840861C1 for ; Sun, 5 Feb 2006 16:17:49 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: mkp Assigned To: ====================================================================== Project: ALSA - lib Issue ID: 1821 Category: rawmidi - raw MIDI interface Reproducibility: always Severity: block Priority: normal Status: new ====================================================================== Date Submitted: 02-05-2006 15:47 CET Last Modified: 02-05-2006 16:17 CET ====================================================================== Summary: snd_rawmidi_read is blocking for "virtual" midi, even with SND_RAWMIDI_NONBLOCK flag Description: when opening rawmidi device with snd_rawmidi_open(&handler, NULL, "virtual", SND_RAWMIDI_NONBLOCK); snd_rawmidi_read() is blocking, while according to the documentation it should return -EAGAIN. ====================================================================== ---------------------------------------------------------------------- perex - 02-05-06 15:52 ---------------------------------------------------------------------- It should be fixed in 1.0.11rc3. Could you retest? ---------------------------------------------------------------------- mkp - 02-05-06 16:17 ---------------------------------------------------------------------- same thing with 1.0.11rc3 Issue History Date Modified Username Field Change ====================================================================== 02-05-06 15:47 mkp New Issue 02-05-06 15:47 mkp File Added: rawmidi.c 02-05-06 15:52 perex Note Added: 0007935 02-05-06 16:17 mkp Note Added: 0007936 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642