I've just discovered that as of ALSA 1.0.11rc1, the ALSA sequencer client 
numbers have been reorganised, with system clients using numbers 0-15 instead 
of the previous 0-63, hardware clients now using 16-127 instead of 64-127, 
and software clients taking 128+ as before.

This is a real problem for Rosegarden.  We currently use the ALSA client 
numbers to try to work out whether to classify a client as system, hardware, 
or software, and we show this classification to the user and also use it as 
part of the autoconnection logic.  I'm not aware of any other way to do this.

However, with 1.0.11rc1 it now appears to be impossible to establish reliably 
whether a client is a system client provided by a <= 1.0.10 ALSA driver or a 
hardware client provided by >= 1.0.11.

Any ALSA people know the answer to this?  How should we distinguish between 
system, hardware, and software ports?

This also exposes a particularly serious problem (bug? I'm not sure) with RG. 
Recent ALSA drivers have also introduced a MIDI Thru port (previously 62:0, 
now at 14:0) that collects its input and forwards it to its output.  
Rosegarden will resist automatically connecting to system ports, but if you 
have no hardware or software MIDI ports -- and this will now appear to RG to 
be the case even if you have hardware ports -- then this 14:0 will become the 
default output connection.  Since it's also automatically connected to 
Rosegarden's record input, along with all the other published ports, that 
means all hell breaks loose when you hit Record, with a feedback loop of 
metronome and sync events.


Chris


-------------------------------------------------------
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
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to