27 #define C15DB 1.189207115
29 #define C_15DB 0.840896415
30 #define C_30DB M_SQRT1_2
31 #define C_45DB 0.594603558
34 #define OFFSET(x) offsetof(SwrContext,x)
35 #define PARAM AV_OPT_FLAG_AUDIO_PARAM
97 {
"precision" ,
"set soxr resampling precision (in bits)"
99 {
"cheby" ,
"enable soxr Chebyshev passband & higher-precision irrational ratio approximation"
101 {
"min_comp" ,
"set minimum difference between timestamps and audio data (in seconds) below which no timestamp compensation of either kind is applied"
103 {
"min_hard_comp" ,
"set minimum difference between timestamps and audio data (in seconds) to trigger padding/trimming the data."
105 {
"comp_duration" ,
"set duration (in seconds) over which data is stretched/squeezed to make it match the timestamps."
107 {
"max_soft_comp" ,
"set maximum factor by which data is stretched/squeezed to make it match the timestamps."
109 {
"async" ,
"simplified 1 parameter audio timestamp matching, 0(disabled), 1(filling and trimming), >1(maximum stretch/squeeze in samples per second)"
111 {
"first_pts" ,
"Assume the first pts should be this value (in samples)."
139 .log_level_offset_offset =
OFFSET(log_level_offset),
140 .parent_log_context_offset =
OFFSET(log_ctx),