• Home
  • Raw
  • Download

Lines Matching refs:playback

65     } playback;  member
137 if (c->playback.current_memblock) in connection_free()
138 pa_memblock_unref(c->playback.current_memblock); in connection_free()
157 if (!c->sink_input || (l = (size_t) pa_atomic_load(&c->playback.missing)) <= 0) in do_read()
160 if (c->playback.current_memblock) { in do_read()
162 space = pa_memblock_get_length(c->playback.current_memblock) - c->playback.memblock_index; in do_read()
165 pa_memblock_unref(c->playback.current_memblock); in do_read()
166 c->playback.current_memblock = NULL; in do_read()
170 if (!c->playback.current_memblock) { in do_read()
171 …pa_assert_se(c->playback.current_memblock = pa_memblock_new(c->protocol->core->mempool, (size_t) -… in do_read()
172 c->playback.memblock_index = 0; in do_read()
174 space = pa_memblock_get_length(c->playback.current_memblock); in do_read()
180 p = pa_memblock_acquire(c->playback.current_memblock); in do_read()
181 r = pa_iochannel_read(c->io, (uint8_t*) p + c->playback.memblock_index, l); in do_read()
182 pa_memblock_release(c->playback.current_memblock); in do_read()
193 chunk.memblock = c->playback.current_memblock; in do_read()
194 chunk.index = c->playback.memblock_index; in do_read()
197 c->playback.memblock_index += (size_t) r; in do_read()
200 pa_atomic_sub(&c->playback.missing, (int) r); in do_read()
322 if (pa_memblockq_is_readable(c->input_memblockq) && c->playback.underrun) { in sink_input_process_msg()
360 c->playback.underrun = true; in sink_input_pop_cb()
371 c->playback.underrun = false; in sink_input_pop_cb()
377 if (pa_atomic_add(&c->playback.missing, (int) m) <= 0) in sink_input_pop_cb()
500 c->playback.current_memblock = NULL; in pa_simple_protocol_connect()
501 c->playback.memblock_index = 0; in pa_simple_protocol_connect()
503 c->playback.underrun = true; in pa_simple_protocol_connect()
504 pa_atomic_store(&c->playback.missing, 0); in pa_simple_protocol_connect()
521 if (o->playback) { in pa_simple_protocol_connect()
573 pa_atomic_store(&c->playback.missing, (int) pa_memblockq_pop_missing(c->input_memblockq)); in pa_simple_protocol_connect()
704 o->playback = true; in pa_simple_options_new()
757 enabled = o->playback; in pa_simple_options_parse()
762 o->playback = enabled; in pa_simple_options_parse()
764 if (!o->playback && !o->record) { in pa_simple_options_parse()