>Yes, Paul mentioned it and I see that the standard is not so good. Does it 
>affect also XRPN encoding (some LSB or MSB bytes might be missing)?
>In that case the current implementation is broken.

now that i think about it, i recall what i realized was the MIDI
spec's intent: you are supposed to be stateful when parsing 14 bit
controls. you always know the most recent MSnibble, and so when the
new LSnibble comes in, you just merge them. libmidi++ does this
already. the problem remains that you can't provide "atomic" access to
the controller state: if it changes so that both the high and low
nibbles need to be transmitted, an application can end up seeing it in
the intermediate, undefined state where the LSnibble has been updated,
but not the MSnibble.

hence the timeouts needed to be able to delay updating the LSnibble so
that you can be sure no pending change to the MSnibble is coming.

--p




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

Reply via email to