Takashi Sakamoto wrote: > On Dec 08 2015 19:22, Clemens Ladisch wrote: >> Takashi Sakamoto wrote: >>> + /* Calculate consume bytes. */ >>> + consume = calculate_message_bytes(status); >>> + if (consume <= 0) >>> + return; >> >> As far as I can see, sending one of the "undefined" bytes can stop the >> stream permanently. Invalid bytes need to be acked to ignore/remove >> them. > > Exactly. We should find better way to handle such messages. Do you have > any good ideas? Call snd_rawmidi_transmit_ack(, 1) and continue. Regards, Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel