Home
last modified time | relevance | path

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

12

/third_party/pulseaudio/src/tests/
Dmcalign-test.c56 pa_assert(c.index < pa_memblock_get_length(c.memblock)); in main()
58 l = pa_memblock_get_length(c.memblock) - c.index; in main()
78 if (c.index >= pa_memblock_get_length(c.memblock)) { in main()
Dlfe-filter-test.c102 mc.length = pa_memblock_get_length(mc.memblock); in lfe_filter_rewind_test()
112 mc.length = pa_memblock_get_length(mc.memblock); in lfe_filter_rewind_test()
Dmemblock-test.c99 snprintf(x, pa_memblock_get_length(blocks[1]), "%s", txt); in START_TEST()
104 snprintf(x, pa_memblock_get_length(blocks[2]), "%s", txt); in START_TEST()
Dcpu-mix-test.c83 c0.length = pa_memblock_get_length(c0.memblock); in run_mix_test()
88 c1.length = pa_memblock_get_length(c1.memblock); in run_mix_test()
Dresampler-test.c427 i.length = pa_memblock_get_length(i.memblock); in main()
456 i.length = pa_memblock_get_length(i.memblock); in main()
Dmix-test.c306 i.length = pa_memblock_get_length(i.memblock); in START_TEST()
Dmemblockq-test.c57 res.length = pa_memblock_get_length(res.memblock); in memchunk_from_str()
/third_party/pulseaudio/src/modules/
Dmodule-pipe-source.c148 pa_assert(pa_memblock_get_length(u->memchunk.memblock) > u->memchunk.index); in thread_func()
151 …l = pa_read(u->fd, (uint8_t*) p + u->memchunk.index, pa_memblock_get_length(u->memchunk.memblock) … in thread_func()
171 if (u->memchunk.index >= pa_memblock_get_length(u->memchunk.memblock)) { in thread_func()
/third_party/pulseaudio/src/pulsecore/resampler/
Dtrivial.c55 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in trivial_resample()
Dpeaks.c59 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in peaks_resample()
/third_party/pulseaudio/src/pulsecore/
Dmemchunk.c45 pa_memblock_get_length(c->memblock) >= c->index+min) in pa_memchunk_make_writable()
Dsrbchannel.c241 capacity = (pa_memblock_get_length(sr->memblock) - srh->readbuf_offset) / 2; in pa_srbchannel_new()
249 (int) pa_memblock_get_length(sr->memblock), capacity); in pa_srbchannel_new()
Dsample-util.c51 pa_silence_memory(data, pa_memblock_get_length(b), spec); in pa_silence_memblock()
265 l = pa_memblock_get_length(b); in pa_silence_memchunk_get()
Dmemblock.h119 size_t pa_memblock_get_length(pa_memblock *b);
Dmcalign.c110 pa_assert(m->leftover.length <= pa_memblock_get_length(m->leftover.memblock)); in pa_mcalign_push()
Dprotocol-simple.c162 space = pa_memblock_get_length(c->playback.current_memblock) - c->playback.memblock_index; in do_read()
174 space = pa_memblock_get_length(c->playback.current_memblock); in do_read()
Dprotocol-esound.c1144 … space = pa_memblock_get_length(c->playback.current_memblock) - c->playback.memblock_index; in do_read()
1156 space = pa_memblock_get_length(c->playback.current_memblock); in do_read()
Dmemblockq.c286 pa_assert(uchunk->index + uchunk->length <= pa_memblock_get_length(uchunk->memblock)); in pa_memblockq_push()
Dpstream.c1060 … chunk.length = b ? pa_memblock_get_length(b) : ntohl(re->shm_info[PA_PSTREAM_SHM_LENGTH]); in do_read()
Dmemblock.c560 size_t pa_memblock_get_length(pa_memblock *b) { in pa_memblock_get_length() function
/third_party/pulseaudio/src/modules/rtp/
Drtp-native.c337 c->memchunk.length = pa_memblock_get_length(c->memchunk.memblock); in pa_rtp_recv()
/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c245 chunk.length = pa_memblock_get_length(chunk.memblock); in mmap_fill_memblocks()
298 chunk.length = pa_memblock_get_length(chunk.memblock); in mmap_post_memblocks()
1072 k = pa_memblock_get_length(memchunk.memblock); in thread_func()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c350 iov.iov_len = pa_memblock_get_length(memchunk.memblock); in sco_process_push()
371 pa_assert((size_t) l <= pa_memblock_get_length(memchunk.memblock)); in sco_process_push()
614 memchunk.length = pa_memblock_get_length(memchunk.memblock); in a2dp_process_push()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c684 chunk.length = pa_memblock_get_length(chunk.memblock); in mmap_read()
804 frames = (snd_pcm_sframes_t) (pa_memblock_get_length(chunk.memblock) / u->frame_size); in unix_read()
/third_party/pulseaudio/src/pulse/
Dstream.c1448 *nbytes = pa_memblock_get_length(s->write_memblock); in pa_stream_begin_write()
1495 …((const char*) data + length <= (const char*) s->write_data + pa_memblock_get_length(s->write_memb… in pa_stream_write_ext_free()

12