On Mon, 16 Jun 2003, Joern Nettingsmeier wrote:> Jaroslav
either i have not understood the semantics of nrpm, or nrpm events are not detected as such. when i move a slider, i always get four separate normal controller events: two on 98/99 encoding the control number as a 14bit value, and two on 6 and 38 encoding the data.
the case SND_EVENT_NONREGPARAM is never reached.
now one of three things must be broken (in decreasing order of likelihood): me, my wacky peavey controller, or alsa-lib.
The driver code and alsa-lib does not handle nonreg and reg parameters.
They simply pass them like standard controllers, so the four event sequence is ok. I think that we may add this piece code to seq_midi_event.c.
thanks for the clarification. i'd be glad to help, but i doubt i could meet the coding standards of alsa-lib. at least i could help test it.
do you or anyone of the alsa core developers have plans to tackle this some time soon ? i'd love to be able to use my controller box for the LinuxTag presentations in mid-July.
best,
jörn
-- All Members shall refrain in their international relations from the threat or use of force against the territorial integrity or political independence of any state, or in any other manner inconsistent with the Purposes of the United Nations. -- Charter of the United Nations, Article 2.4
Jörn Nettingsmeier Kurfürstenstr 49, 45138 Essen, Germany http://spunk.dnsalias.org (my server) http://www.linuxdj.com/audio/lad/ (Linux Audio Developers)
------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel