You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
soxr_resample: soxr API parameter rename
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
f2957adb23
commit
03d38ee207
@@ -46,7 +46,7 @@ static struct ResampleContext *create(struct ResampleContext *c, int out_rate, i
|
|||||||
soxr_io_spec_t io_spec = soxr_io_spec(type, type);
|
soxr_io_spec_t io_spec = soxr_io_spec(type, type);
|
||||||
|
|
||||||
soxr_quality_spec_t q_spec = soxr_quality_spec((int)((precision-2)/4), (SOXR_HI_PREC_CLOCK|SOXR_ROLLOFF_NONE)*!!cheby);
|
soxr_quality_spec_t q_spec = soxr_quality_spec((int)((precision-2)/4), (SOXR_HI_PREC_CLOCK|SOXR_ROLLOFF_NONE)*!!cheby);
|
||||||
q_spec.bits = linear? 0 : precision;
|
q_spec.precision = linear? 0 : precision;
|
||||||
q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc;
|
q_spec.bw_pc = cutoff? FFMAX(FFMIN(cutoff,.995),.8)*100 : q_spec.bw_pc;
|
||||||
|
|
||||||
soxr_delete((soxr_t)c);
|
soxr_delete((soxr_t)c);
|
||||||
|
Reference in New Issue
Block a user