Home
last modified time | relevance | path

Searched refs:PA_SEEK_RELATIVE (Results 1 – 25 of 25) sorted by relevance

/third_party/pulseaudio/src/pulse/
Ddef.h776 PA_SEEK_RELATIVE = 0, enumerator
790 #define PA_SEEK_RELATIVE PA_SEEK_RELATIVE macro
Dsimple.c297 r = pa_stream_write(p->stream, data, l, NULL, 0LL, PA_SEEK_RELATIVE); in pa_simple_write()
Dstream.c1491 …PA_CHECK_VALIDITY(s->context, s->direction == PA_STREAM_PLAYBACK || (seek == PA_SEEK_RELATIVE && o… in pa_stream_write_ext_free()
1552 t_seek = PA_SEEK_RELATIVE; in pa_stream_write_ext_free()
1566 s->requested_bytes -= (seek == PA_SEEK_RELATIVE ? offset : 0) + (int64_t) length; in pa_stream_write_ext_free()
1581 } else if (seek == PA_SEEK_RELATIVE) { in pa_stream_write_ext_free()
1594 } else if (seek == PA_SEEK_RELATIVE) { in pa_stream_write_ext_free()
/third_party/pulseaudio/src/tests/
Dlo-latency-test.c71 r = pa_stream_write(s, &out[ppos][0], nbytes, nop_free_cb, 0, PA_SEEK_RELATIVE); in write_cb()
Dinterpol-test.c61 fail_unless(pa_stream_write(p, data, nbytes, NULL, 0, PA_SEEK_RELATIVE) == 0); in stream_write_cb()
Dlo-test-util.c81 pa_assert_se(pa_stream_write(s, &tmp, nbytes, nop_free_cb, 0, PA_SEEK_RELATIVE) == 0); in calibrate_write_cb()
Dmemblockq-test.c316 pa_memblockq_seek(bq, 30, PA_SEEK_RELATIVE, true); in START_TEST()
/third_party/pulseaudio/src/modules/rtp/
Dmodule-rtp-recv.c249 …ek(s->memblockq, delta * (int64_t) pa_rtp_context_get_frame_size(s->rtp_context), PA_SEEK_RELATIVE, in rtpoll_work_cb()
262 pa_memblockq_seek(s->memblockq, (int64_t) chunk.length, PA_SEEK_RELATIVE, true); in rtpoll_work_cb()
/third_party/pulseaudio/src/modules/
Dmodule-loopback.c549 pa_memblockq_seek(u->memblockq, (int64_t)buffer_correction, PA_SEEK_RELATIVE, true); in memblockq_adjust()
955 pa_memblockq_seek(u->memblockq, -offset, PA_SEEK_RELATIVE, true); in sink_input_process_msg_cb()
1574 …k(u->memblockq, pa_usec_to_bytes(u->latency, &u->sink_input->sample_spec), PA_SEEK_RELATIVE, true); in pa__init()
Dmodule-tunnel-sink-new.c211 PA_SEEK_RELATIVE); in thread_func()
Dmodule-virtual-sink.c304 pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb()
Dmodule-virtual-surround-sink.c333 pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb()
Dmodule-ladspa-sink.c543 pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb()
Dmodule-tunnel.c560 pa_pstream_send_memblock(u->pstream, u->channel, 0, PA_SEEK_RELATIVE, chunk); in sink_process_msg()
Dmodule-equalizer-sink.c762 pa_memblockq_seek(u->input_q, - (int64_t) amount, PA_SEEK_RELATIVE, true); in sink_input_process_rewind_cb()
/third_party/pulseaudio/src/utils/
Dpacat.c209 pa_stream_write(s, data, (size_t) bytes, NULL, 0, PA_SEEK_RELATIVE); in stream_write_callback()
580 if (pa_stream_write(stream, buf, towrite, NULL, 0, PA_SEEK_RELATIVE) < 0) { in stdin_callback()
Dpactl.c1161 pa_stream_write(s, d, length, pa_xfree, 0, PA_SEEK_RELATIVE); in stream_write_callback()
Dpadsp.c894 … if (pa_stream_write(i->play_stream, i->buf, to_write, NULL, 0LL, PA_SEEK_RELATIVE) < 0) { in fd_info_copy_data()
/third_party/pulseaudio/src/pulsecore/
Dmemblockq.c690 case PA_SEEK_RELATIVE: in pa_memblockq_seek()
964 pa_memblockq_seek(bq, (int64_t) chunk.length, PA_SEEK_RELATIVE, true); in pa_memblockq_splice()
Dsource-output.c763 …pa_memblockq_seek(o->thread_info.delay_memblockq, (int64_t) chunk->length, PA_SEEK_RELATIVE, true); in pa_source_output_push()
882 … pa_memblockq_seek(o->thread_info.delay_memblockq, - ((int64_t) nbytes), PA_SEEK_RELATIVE, true); in pa_source_output_process_rewind()
Dsink-input.c936 … pa_memblockq_seek(i->thread_info.render_memblockq, (int64_t) slength, PA_SEEK_RELATIVE, true); in pa_sink_input_peek()
1135 … pa_memblockq_seek(i->thread_info.render_memblockq, - ((int64_t) amount), PA_SEEK_RELATIVE, true); in pa_sink_input_process_rewind()
Dprotocol-native.c1262 pa_pstream_send_memblock(c->pstream, r->index, 0, PA_SEEK_RELATIVE, &schunk); in native_connection_send_memblock()
1337 …seek(s->memblockq, offset, PA_PTR_TO_UINT(userdata), PA_PTR_TO_UINT(userdata) == PA_SEEK_RELATIVE); in sink_input_process_msg()
1345 pa_memblockq_seek(s->memblockq, (int64_t) chunk->length, PA_SEEK_RELATIVE, true); in sink_input_process_msg()
5023 if (seek != PA_SEEK_RELATIVE || offset != 0) in pstream_memblock_callback()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/pulseaudio/
DSDL_pulseaudio.c365 …if (PULSEAUDIO_pa_stream_write(h->stream, h->mixbuf, h->mixlen, NULL, 0LL, PA_SEEK_RELATIVE) < 0) { in PULSEAUDIO_PlayDevice()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c841 pa_memblockq_seek(u->sink_memblockq, u->sink_blocksize - plen, PA_SEEK_RELATIVE, true); in do_push()
1021 pa_memblockq_seek(u->source_memblockq, -nbytes, PA_SEEK_RELATIVE, true); in source_output_process_rewind_cb()
1091 pa_memblockq_seek(u->sink_memblockq, -offset, PA_SEEK_RELATIVE, true); in source_output_process_msg_cb()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_enc.c658 if ((ret = pa_stream_write(s->stream, pkt->data, pkt->size, NULL, 0, PA_SEEK_RELATIVE)) < 0) { in pulse_write_packet()