Revision 54955283 libavcodec/avcodec.h
libavcodec/avcodec.h | ||
---|---|---|
3222 | 3222 |
attribute_deprecated ReSampleContext *audio_resample_init(int output_channels, int input_channels, |
3223 | 3223 |
int output_rate, int input_rate); |
3224 | 3224 |
#endif |
3225 |
|
|
3225 | 3226 |
/** |
3226 |
* Initialize audio resampling context |
|
3227 |
* Initialize audio resampling context.
|
|
3227 | 3228 |
* |
3228 | 3229 |
* @param output_channels number of output channels |
3229 | 3230 |
* @param input_channels number of input channels |
... | ... | |
3231 | 3232 |
* @param input_rate input sample rate |
3232 | 3233 |
* @param sample_fmt_out requested output sample format |
3233 | 3234 |
* @param sample_fmt_in input sample format |
3234 |
* @param filter_length length of each FIR filter in the filterbank relative to the cutoff freq |
|
3235 |
* @param filter_length length of each FIR filter in the filterbank relative to the cutoff frequency
|
|
3235 | 3236 |
* @param log2_phase_count log2 of the number of entries in the polyphase filterbank |
3236 |
* @param linear If 1 then the used FIR filter will be linearly interpolated
|
|
3237 |
* @param linear if 1 then the used FIR filter will be linearly interpolated
|
|
3237 | 3238 |
between the 2 closest, if 0 the closest will be used |
3238 | 3239 |
* @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate |
3239 | 3240 |
* @return allocated ReSampleContext, NULL if error occured |
Also available in: Unified diff