while( (evbuf[evbrpoint].status==B_OK)&&(evbrpoint!=evbwpoint) ){ #ifdef IA_W32G_SYN 
#if defined(IA_W32G_SYN) && !defined(USE_PORTMIDI) if( (evbuf[evbrpoint].status==B_OK)&&(evbrpoint!=evbwpoint) ){ 
void winplaymidi(void){	MidiEvent ev;#ifdef IA_W32G_SYN	if ( winplaymidi_sleep_level < 1 ) {		winplaymidi_sleep_level = 1;	}#endif	while( (evbuf[evbrpoint].status==B_OK)&&(evbrpoint!=evbwpoint) ){#ifdef IA_W32G_SYN		winplaymidi_sleep_level = 0;#endif		play_one_data();	}#ifdef IA_W32G_SYN	if ( winplaymidi_sleep_level == 1 ) {		DWORD ct = GetCurrentTime ();		if ( winplaymidi_active_start_time == 0 || ct < winplaymidi_active_start_time ) {			winplaymidi_active_start_time = ct;		} else if ( ct - winplaymidi_active_start_time > 2000 ) {			winplaymidi_sleep_level = 2;		}	} else if ( winplaymidi_sleep_level == 0 ) {		winplaymidi_active_start_time = 0;	}#endif	ev.type = ME_NONE;	seq_set_time(&ev);	play_event(&ev);	aq_fill_nonblocking();	if(active_sensing_flag==~0 && (get_current_calender_time() > active_sensing_time+0.5)){//normaly acitive sensing expiering time is 330ms(>300ms) but this loop is heavy		play_mode->close_output();		play_mode->open_output();		printf ("Active Sensing Expired\n");		active_sensing_flag=0;	}#ifdef IA_W32G_SYN	if ( winplaymidi_sleep_level >= 2) {		Sleep ( 100 );	} else if ( winplaymidi_sleep_level > 0 ) {		Sleep ( 1 );	}#endif//	if((seq_playing == ~0) && (get_current_calender_time()-lastdintime>30)){//	playdone=~0;//	seq_playing =0;//	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/07099d2b73d40a22ba156b7c9bb38b9160f91538/winsyn_c.c/clean/interface/winsyn_c.c