[FFmpeg-devel] [PATCH] convert to S16 when resampling is requested
Baptiste Coudurier
baptiste.coudurier
Mon Feb 9 02:16:53 CET 2009
Baptiste Coudurier wrote:
> [...]
>
> +/**
> + * Initialize audio resampling context
> + *
> + * @param output_channels number of output channels
> + * @param input_channels number of input channels
> + * @param output_rate output sample rate
> + * @param input_rate input sample rate
> + * @param sample_fmt_out wanted output sample format
> + * @param sample_fmt_in input sample format
> + * @return allocated ReSampleContext, NULL if error occured
> + */
> +ReSampleContext *av_audio_resample_init(int output_channels, int input_channels,
> + int output_rate, int input_rate,
> + enum SampleFormat sample_fmt_out,
> + enum SampleFormat sample_fmt_in,
> + int filter_length, int phase_shift,
> + int linear, double cutoff);
> +
Forgot to ask, can you please give me a good doxygen description for
other params ? Would be great.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list