[FFmpeg-devel] [PATCH] convert to S16 when resampling is requested

Michael Niedermayer michaelni
Mon Feb 9 17:42:02 CET 2009


On Sun, Feb 08, 2009 at 05:16:53PM -0800, Baptiste Coudurier wrote:
> 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.

done, tell me if its enough or if i should improve it more

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090209/847e54a2/attachment.pgp>



More information about the ffmpeg-devel mailing list