Re: blocking snd_rawmidi_read and usb device disconnection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 28 Aug 2006 04:15:08 +0400,
Dmitry Baikov wrote:
> 
> Hello!
> 
> If program is blocked on snd_rawmidi_read and device is disconnected,
> it waits infinitely.
> Is this an intentional behaviour?

No, the disconnect should break the read.

> Trying to read ctl device with read() yeilds the same results.

Ditto.  Better to be fixed.

But, I suppose the current behavior doesn't "break" the system, at
least?


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux