if (channel[ch].drums[note] != NULL) { drum = channel[ch].drums[note]; if (drum->reverb_level == -1 && bank->tone[nprog].reverb_send != -1) { drum->reverb_level = bank->tone[nprog].reverb_send; } if (drum->chorus_level == -1 && bank->tone[nprog].chorus_send != -1) { drum->chorus_level = bank->tone[nprog].chorus_send; } if (drum->delay_level == -1 && bank->tone[nprog].delay_send != -1) { drum->delay_level = bank->tone[nprog].delay_send; } 
if (channel[ch].drums[note] == NULL) play_midi_setup_drums(ch, note); drum = channel[ch].drums[note]; if (drum->reverb_level == -1 && bank->tone[nprog].reverb_send != -1) { drum->reverb_level = bank->tone[nprog].reverb_send; } if (drum->chorus_level == -1 && bank->tone[nprog].chorus_send != -1) { drum->chorus_level = bank->tone[nprog].chorus_send; } if (drum->delay_level == -1 && bank->tone[nprog].delay_send != -1) { drum->delay_level = bank->tone[nprog].delay_send; 
void recompute_bank_parameter(int ch, int note){	int i, nbank, nprog;	ToneBank *bank;	struct DrumParts *drum;	if(channel[ch].special_sample > 0) {return;}	nbank = channel[ch].bank;	if(ISDRUMCHANNEL(ch)) {		nprog = note;		instrument_map(channel[ch].mapID, &nbank, &nprog);		bank = drumset[nbank];		if (bank == NULL) {bank = drumset[0];}		if (channel[ch].drums[note] != NULL) {			drum = channel[ch].drums[note];			if (drum->reverb_level == -1 && bank->tone[nprog].reverb_send != -1) {				drum->reverb_level = bank->tone[nprog].reverb_send;			}			if (drum->chorus_level == -1 && bank->tone[nprog].chorus_send != -1) {				drum->chorus_level = bank->tone[nprog].chorus_send;			}			if (drum->delay_level == -1 && bank->tone[nprog].delay_send != -1) {				drum->delay_level = bank->tone[nprog].delay_send;			}		}	} else {		nprog = channel[ch].program;		if(nprog == SPECIAL_PROGRAM) {return;}		instrument_map(channel[ch].mapID, &nbank, &nprog);		bank = tonebank[nbank];		if(bank == NULL) {bank = tonebank[0];}		channel[ch].legato = bank->tone[nprog].legato;	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/ebaefc26f518c37542a792e828379d3bf22746a5/playmidi.c/buggy/timidity/playmidi.c