Searched refs:pos_write (Results 1 – 2 of 2) sorted by relevance
39 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()49 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()71 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free()80 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used()106 length1 = this->size - this->pos_write; in line6_midibuf_write()110 memcpy(this->buf + this->pos_write, data, length); in line6_midibuf_write()111 this->pos_write += length; in line6_midibuf_write()115 memcpy(this->buf + this->pos_write, data, length1); in line6_midibuf_write()117 this->pos_write = length2; in line6_midibuf_write()120 if (this->pos_write == this->pos_read) in line6_midibuf_write()
15 int pos_read, pos_write; member