Searched refs:streamer_ringbuf (Results 1 – 1 of 1) sorted by relevance
117 static ringbuf_t streamer_ringbuf; variable1539 bytes_until_next_song = streamer_ringbuf.remaining + bytesread; in streamer_next()1843 int sz = STREAM_BUFFER_SIZE - streamer_ringbuf.remaining; in streamer_thread()1847 if (streamer_ringbuf.remaining < MAX_BLOCK_SIZE) { in streamer_thread()1883 ringbuf_write (&streamer_ringbuf, readbuffer, bytesread); in streamer_thread()1911 else if (streamer_ringbuf.remaining < STREAM_BUFFER_SIZE / 2) { in streamer_thread()2195 ringbuf_init (&streamer_ringbuf, streambuffer, STREAM_BUFFER_SIZE); in streamer_init()2274 streamer_ringbuf.remaining = 0; in streamer_reset()2580 int sz = min (size, streamer_ringbuf.remaining); in streamer_read()2582 ringbuf_read (&streamer_ringbuf, bytes, sz); in streamer_read()[all …]