Searched refs:pa_memblock_get_length (Results 1 – 25 of 27) sorted by relevance
12
/third_party/pulseaudio/src/tests/ |
D | mcalign-test.c | 56 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()
|
D | lfe-filter-test.c | 102 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()
|
D | memblock-test.c | 99 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()
|
D | cpu-mix-test.c | 83 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()
|
D | resampler-test.c | 427 i.length = pa_memblock_get_length(i.memblock); in main() 456 i.length = pa_memblock_get_length(i.memblock); in main()
|
D | mix-test.c | 306 i.length = pa_memblock_get_length(i.memblock); in START_TEST()
|
D | memblockq-test.c | 57 res.length = pa_memblock_get_length(res.memblock); in memchunk_from_str()
|
/third_party/pulseaudio/src/modules/ |
D | module-pipe-source.c | 148 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/ |
D | trivial.c | 55 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in trivial_resample()
|
D | peaks.c | 59 pa_assert_fp(o_index * r->w_fz < pa_memblock_get_length(output->memblock)); in peaks_resample()
|
/third_party/pulseaudio/src/pulsecore/ |
D | memchunk.c | 45 pa_memblock_get_length(c->memblock) >= c->index+min) in pa_memchunk_make_writable()
|
D | srbchannel.c | 241 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()
|
D | sample-util.c | 51 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()
|
D | memblock.h | 119 size_t pa_memblock_get_length(pa_memblock *b);
|
D | mcalign.c | 110 pa_assert(m->leftover.length <= pa_memblock_get_length(m->leftover.memblock)); in pa_mcalign_push()
|
D | protocol-simple.c | 162 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()
|
D | protocol-esound.c | 1144 … 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()
|
D | memblockq.c | 286 pa_assert(uchunk->index + uchunk->length <= pa_memblock_get_length(uchunk->memblock)); in pa_memblockq_push()
|
D | pstream.c | 1060 … chunk.length = b ? pa_memblock_get_length(b) : ntohl(re->shm_info[PA_PSTREAM_SHM_LENGTH]); in do_read()
|
D | memblock.c | 560 size_t pa_memblock_get_length(pa_memblock *b) { in pa_memblock_get_length() function
|
/third_party/pulseaudio/src/modules/rtp/ |
D | rtp-native.c | 337 c->memchunk.length = pa_memblock_get_length(c->memchunk.memblock); in pa_rtp_recv()
|
/third_party/pulseaudio/src/modules/oss/ |
D | module-oss.c | 245 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/ |
D | module-bluez5-device.c | 350 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/ |
D | alsa-source.c | 684 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/ |
D | stream.c | 1448 *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