Searched refs:rchunk (Results 1 – 5 of 5) sorted by relevance
/third_party/libsnd/src/ |
D | chunk.c | 110 psf_store_read_chunk (READ_CHUNKS * pchk, const READ_CHUNK * rchunk) in psf_store_read_chunk() argument 133 pchk->chunks [pchk->used] = *rchunk ; in psf_store_read_chunk() 142 { READ_CHUNK rchunk ; in psf_store_read_chunk_u32() local 144 memset (&rchunk, 0, sizeof (rchunk)) ; in psf_store_read_chunk_u32() 146 rchunk.hash = marker ; in psf_store_read_chunk_u32() 147 rchunk.mark32 = marker ; in psf_store_read_chunk_u32() 148 rchunk.offset = offset ; in psf_store_read_chunk_u32() 149 rchunk.len = len ; in psf_store_read_chunk_u32() 151 rchunk.id_size = 4 ; in psf_store_read_chunk_u32() 152 memcpy (rchunk.id, &marker, rchunk.id_size) ; in psf_store_read_chunk_u32() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | memblockq.c | 534 pa_memchunk tchunk, rchunk; in pa_memblockq_peek_fixed_size() local 553 rchunk.memblock = pa_memblock_new(pool, block_size); in pa_memblockq_peek_fixed_size() 554 rchunk.index = 0; in pa_memblockq_peek_fixed_size() 555 rchunk.length = tchunk.length; in pa_memblockq_peek_fixed_size() 558 pa_memchunk_memcpy(&rchunk, &tchunk); in pa_memblockq_peek_fixed_size() 561 rchunk.index += tchunk.length; in pa_memblockq_peek_fixed_size() 568 while (rchunk.index < block_size) { in pa_memblockq_peek_fixed_size() 591 rchunk.length = tchunk.length = PA_MIN(tchunk.length, block_size - rchunk.index); in pa_memblockq_peek_fixed_size() 592 pa_memchunk_memcpy(&rchunk, &tchunk); in pa_memblockq_peek_fixed_size() 594 rchunk.index += rchunk.length; in pa_memblockq_peek_fixed_size() [all …]
|
D | sink-input.c | 1083 pa_memchunk rchunk; in pa_sink_input_peek() local 1084 pa_resampler_run(i->thread_info.resampler, &wchunk, &rchunk); in pa_sink_input_peek() 1087 pa_log_debug("pushing %lu", (unsigned long) rchunk.length); in pa_sink_input_peek() 1090 if (rchunk.memblock) { in pa_sink_input_peek() 1093 pa_memchunk_make_writable(&rchunk, 0); in pa_sink_input_peek() 1094 pa_volume_memchunk(&rchunk, &i->sink->sample_spec, &i->volume_factor_sink); in pa_sink_input_peek() 1097 pa_memblockq_push_align(i->thread_info.render_memblockq, &rchunk); in pa_sink_input_peek() 1098 pa_memblock_unref(rchunk.memblock); in pa_sink_input_peek()
|
D | source-output.c | 841 pa_memchunk rchunk; in pa_source_output_push() local 849 pa_resampler_run(o->thread_info.resampler, &qchunk, &rchunk); in pa_source_output_push() 851 if (rchunk.length > 0) in pa_source_output_push() 852 o->push(o, &rchunk); in pa_source_output_push() 854 if (rchunk.memblock) in pa_source_output_push() 855 pa_memblock_unref(rchunk.memblock); in pa_source_output_push()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
D | module-echo-cancel.c | 739 pa_memchunk rchunk, pchunk, cchunk; in do_push_drift_comp() local 790 pa_memblockq_peek_fixed_size(u->source_memblockq, u->source_output_blocksize, &rchunk); in do_push_drift_comp() 792 rdata = pa_memblock_acquire(rchunk.memblock); in do_push_drift_comp() 793 rdata += rchunk.index; in do_push_drift_comp() 813 pa_memblock_release(rchunk.memblock); in do_push_drift_comp() 815 pa_memblock_unref(rchunk.memblock); in do_push_drift_comp() 832 pa_memchunk rchunk, pchunk, cchunk; in do_push() local 842 pa_memblockq_peek_fixed_size(u->source_memblockq, u->source_output_blocksize, &rchunk); in do_push() 849 rdata = pa_memblock_acquire(rchunk.memblock); in do_push() 850 rdata += rchunk.index; in do_push() [all …]
|