Endless loop opening raw alsa midi

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Endless loop opening raw alsa midi

Fons Adriaensen-2
There's a small problem with the raw alsa midi backend.

If any of the raw ports is alread in use it gets into
an endless loop trying to open it:

JACK compiled with System V SHM support.
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:1|hw:1|256|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:1
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit little-endian
ALSA: use 2 periods for playback
scan: added port hw:1,0,0 in-hw-1-0-0--MIDI-1
scan: added port hw:1,0,0 out-hw-1-0-0--MIDI-1
scan: added port hw:1,1,0 in-hw-1-1-0--MIDI-2
scan: added port hw:1,1,0 out-hw-1-1-0--MIDI-2
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: Device or resource busy
scan: can't open port  
scan: added port hw:1,0,0 in-hw-1-0-0--MIDI-1
scan: added port hw:1,0,0 out-hw-1-0-0--MIDI-1
scan: added port hw:1,1,0 in-hw-1-1-0--MIDI-2
scan: added port hw:1,1,0 out-hw-1-1-0--MIDI-2
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: Device or resource busy
scan: can't open port  
scan: added port hw:1,0,0 in-hw-1-0-0--MIDI-1
scan: added port hw:1,0,0 out-hw-1-0-0--MIDI-1
scan: added port hw:1,1,0 in-hw-1-1-0--MIDI-2
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: Device or resource busy
scan: can't open port  
scan: added port hw:1,0,0 in-hw-1-0-0--MIDI-1
scan: added port hw:1,0,0 out-hw-1-0-0--MIDI-1
scan: added port hw:1,1,0 in-hw-1-1-0--MIDI-2
scan: added port hw:1,1,0 out-hw-1-1-0--MIDI-2
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: Device or resource busy
scan: can't open port

etc. etc.


--
FA

Laboratorio di Acustica ed Elettroacustica
Parma, Italia

Lascia la spina, cogli la rosa.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel