Searched refs:CS_MIDIOUTBUF (Results 1 – 1 of 1) sorted by relevance
106 #define CS_MIDIOUTBUF 500 macro378 unsigned char obuf[CS_MIDIOUTBUF];1667 card->midi.ord = (card->midi.ord + 1) % CS_MIDIOUTBUF; in cs_handle_midi()1669 if (card->midi.ocnt < CS_MIDIOUTBUF-16) in cs_handle_midi()1781 cnt = CS_MIDIOUTBUF - ptr; in cs_midi_write()1782 if (card->midi.ocnt + cnt > CS_MIDIOUTBUF) in cs_midi_write()1783 cnt = CS_MIDIOUTBUF - card->midi.ocnt; in cs_midi_write()1799 ptr = (ptr + cnt) % CS_MIDIOUTBUF; in cs_midi_write()1831 if (card->midi.ocnt < CS_MIDIOUTBUF) in cs_midi_poll()