[FFmpeg-devel] [PATCH] new av_audio_resample

Michael Niedermayer michaelni
Thu Jun 11 23:58:15 CEST 2009

On Thu, Jun 11, 2009 at 01:41:59AM -0700, Baptiste Coudurier wrote:
> Hi guys,
> I propose to introduce av_audio_resample to add output_size as parameter
> since currently using audio_resample there is no way to know the size of
> the output buffer.

I hoped we could one day drop resample.c in favor of resample2.c
currently resample.c lacking a av prefix is not officially part of the public
API your patch would change that

and i belive the API of resample.c is not fit for export, the output_size
is surely needed but thats not the only thing, using short types is clearly
not correct given the code supports other types, lack of planar audio support
in the API also is not good.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20090611/d2d2ee94/attachment.pgp>

More information about the ffmpeg-devel mailing list