inline midi_event *PopTime(int time) {
inline midi_event *PopTime(uint32 time) {
	inline midi_event *PopTime(int time) {		if (notes && notes->note_time <= time)  {			midi_event *note = notes;			notes = note->next_note;			note->next_note = 0;			polyphony--;			return note;		}		return 0;	}