Skip to contentSkip to conversation

: snd_rawmidi_read is blocking for "virtual" midi, even with SND_RAWMIDI_NONBLOCK flag

ALSA - lib 0001821 [email protected] 1 participant 1 message Feb 5, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1821>
======================================================================
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 15:52 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?

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                          

======================================================================

-------------------------------------------------------
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