MIDIQ_FULL
#define MIDIQ_AVAIL(head) (MIDIQ_FULL(head) ? 0 : (head).s - MIDIQ_LENBASE(head))
if(MIDIQ_FULL(head)) (head).h=(head).t; \