Revision 49d57a82

View differences:

libavcodec/avcodec.h
3233 3233
attribute_deprecated ReSampleContext *audio_resample_init(int output_channels, int input_channels,
3234 3234
                                                          int output_rate, int input_rate);
3235 3235
#endif
3236

  
3236 3237
/**
3237
 *  Initialize audio resampling context
3238
 *  Initialize audio resampling context.
3238 3239
 *
3239 3240
 * @param output_channels  number of output channels
3240 3241
 * @param input_channels   number of input channels
......
3242 3243
 * @param input_rate       input sample rate
3243 3244
 * @param sample_fmt_out   requested output sample format
3244 3245
 * @param sample_fmt_in    input sample format
3245
 * @param filter_length    length of each FIR filter in the filterbank relative to the cutoff freq
3246
 * @param filter_length    length of each FIR filter in the filterbank relative to the cutoff frequency
3246 3247
 * @param log2_phase_count log2 of the number of entries in the polyphase filterbank
3247
 * @param linear           If 1 then the used FIR filter will be linearly interpolated
3248
 * @param linear           if 1 then the used FIR filter will be linearly interpolated
3248 3249
                           between the 2 closest, if 0 the closest will be used
3249 3250
 * @param cutoff           cutoff frequency, 1.0 corresponds to half the output sampling rate
3250 3251
 * @return allocated ReSampleContext, NULL if error occured

Also available in: Unified diff