From: werner s. <wsc...@us...> - 2005-05-16 22:31:56
|
Update of /cvsroot/lmuse/muse/synti/organ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30709/synti/organ Modified Files: organ.cpp Log Message: handle identical names for alsa ports Index: organ.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/synti/organ/organ.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** organ.cpp 13 May 2005 10:19:21 -0000 1.20 --- organ.cpp 16 May 2005 18:16:12 -0000 1.21 *************** *** 347,351 **** return false; } - printf("on %d\n", pitch); for (int i = 0; i < VOICES; ++i) { if (voices[i].isOn) --- 347,350 ---- *************** *** 384,388 **** void Organ::noteoff(int channel, int pitch) { - printf(" off %d\n", pitch); bool found = false; for (int i = 0; i < VOICES; ++i) { --- 383,386 ---- *************** *** 392,396 **** voices[i].state1 = RELEASE; voices[i].state2 = RELEASE; - return; } } --- 390,393 ---- |