Searched refs:work_channels (Results 1 – 7 of 7) sorted by relevance
/third_party/pulseaudio/src/pulsecore/resampler/ |
D | peaks.c | 62 if (r->work_channels == 1 && r->work_format == PA_SAMPLE_FLOAT32NE) { in peaks_resample() 79 int16_t *s = (int16_t*) src + r->work_channels * i; in peaks_resample() 80 int16_t *d = (int16_t*) dst + r->work_channels * o_index; in peaks_resample() 83 for (c = 0; c < r->work_channels; c++) { in peaks_resample() 91 for (c = 0; c < r->work_channels; c++, d++) { in peaks_resample() 98 float *s = (float*) src + r->work_channels * i; in peaks_resample() 99 float *d = (float*) dst + r->work_channels * o_index; in peaks_resample() 102 for (c = 0; c < r->work_channels; c++) { in peaks_resample() 110 for (c = 0; c < r->work_channels; c++, d++) { in peaks_resample()
|
D | ffmpeg.c | 45 for (c = 0; c < r->work_channels; c++) { in ffmpeg_resample() 60 t += r->work_channels; in ffmpeg_resample() 74 c >= (unsigned) (r->work_channels-1)); in ffmpeg_resample() 88 s += r->work_channels; in ffmpeg_resample()
|
D | libsamplerate.c | 90 if (!(state = src_new(r->method, r->work_channels, &err))) in pa_resampler_libsamplerate_init()
|
D | soxr.c | 155 …state = soxr_create(r->i_ss.rate, r->o_ss.rate, r->work_channels, &err, &io_spec, &quality, &runti… in pa_resampler_soxr_init()
|
D | speex.c | 172 if (!(state = speex_resampler_init(r->work_channels, r->i_ss.rate, r->o_ss.rate, q, &err))) in pa_resampler_speex_init()
|
/third_party/pulseaudio/src/pulsecore/ |
D | resampler.h | 104 uint8_t work_channels; member
|
D | resampler.c | 400 r->work_channels = r->o_ss.channels; in pa_resampler_new() 408 r->work_channels = r->i_ss.channels; in pa_resampler_new() 415 r->w_fz = pa_sample_size_of_format(r->work_format) * r->work_channels; in pa_resampler_new() 421 pa_log_debug(" channels %d -> %d (resampling %d)", a->channels, b->channels, r->work_channels); in pa_resampler_new()
|