Comment 1 for bug 1153531

kecajtop (kecajtop) wrote :

Hi!
It worked for me, so you have to change code in this way:

case SND_SEQ_EVENT_PGMCHANGE:
                                bytes[0] = 0xC0 + ev->data.control.channel;
                                bytes[1] = ev->data.control.param;
                                bytes[2] = ev->data.control.value;
                                if (!arguments.silent && arguments.verbose)
                                printf("Alsa 0x%x Program change >> %03u %03u %03u\n", bytes[0]&0xF0, bytes[0]&0xF, bytes[1],bytes[2]);
                                break;

Regards
Kecajtop