channel[i].bank_lsb = channel[i].bank_msb = channel[i].tone_map0_number = 0; 
channel[i].bank_lsb = channel[i].bank_msb = 0; channel[i].tone_map0_number = 3;	/* SC-88Pro MAP */ 
static void reset_midi(int playing){	int i, cnt;		for (i = 0; i < MAX_CHANNELS; i++) {		reset_controllers(i);		reset_nrpn_controllers(i);		/* The rest of these are unaffected		 * by the Reset All Controllers event		 */		channel[i].program = default_program[i];		channel[i].panning = NO_PANNING;		channel[i].pan_random = 0;		/* tone bank or drum set */		if (ISDRUMCHANNEL(i)) {			channel[i].bank = 0;			channel[i].altassign = drumset[0]->alt;		} else {			if (special_tonebank >= 0)				channel[i].bank = special_tonebank;			else				channel[i].bank = default_tonebank;		}		channel[i].bank_lsb = channel[i].bank_msb =				channel[i].tone_map0_number = 0;		if (play_system_mode == XG_SYSTEM_MODE && i % 16 == 9)			channel[i].bank_msb = 127;	/* Use MSB=127 for XG */		update_rpn_map(i, RPN_ADDR_FFFF, 0);		channel[i].special_sample = 0;		channel[i].key_shift = 0;		channel[i].mapID = get_default_mapID(i);		channel[i].lasttime = 0;	}	if (playing) {		kill_all_voices();		if (temper_type_mute) {			if (temper_type_mute & 1)				FILL_CHANNELMASK(channel_mute);			else				CLEAR_CHANNELMASK(channel_mute);		}		for (i = 0; i < MAX_CHANNELS; i++)			redraw_controllers(i);		if (midi_streaming && free_instruments_afterwards) {			free_instruments(0);			/* free unused memory */			cnt = free_global_mblock();			if (cnt > 0)				ctl->cmsg(CMSG_INFO, VERB_VERBOSE,						"%d memory blocks are free", cnt);		}	} else		reset_voices();	master_volume_ratio = 0xffff;	adjust_amplification();	init_freq_table_tuning();	if (current_file_info) {		COPY_CHANNELMASK(drumchannels, current_file_info->drumchannels);		COPY_CHANNELMASK(drumchannel_mask,				current_file_info->drumchannel_mask);	} else {		COPY_CHANNELMASK(drumchannels, default_drumchannels);		COPY_CHANNELMASK(drumchannel_mask, default_drumchannel_mask);	}	ctl_mode_event(CTLE_MASTER_VOLUME, 0, amplification, 0);	ctl_mode_event(CTLE_KEY_OFFSET, 0, note_key_offset, 0);	ctl_mode_event(CTLE_TIME_RATIO, 0, 100 / midi_time_ratio + 0.5, 0);}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/2ea8509b62c84d99c04bdaf3e19372e2fc368d62/playmidi.c/clean/timidity/playmidi.c