Searched refs:MAX_QUEUE_SIZE (Results 1 – 1 of 1) sorted by relevance
28 #define MAX_QUEUE_SIZE 4000 macro36 unsigned char queue[MAX_QUEUE_SIZE];60 #define SPACE_AVAIL(q) (MAX_QUEUE_SIZE - q->len)68 q->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \78 q->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \142 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll()