[FFmpeg-devel] [PATCH v5 1/3] libavdevice/avfoundation.m: use AudioConvert, extend supported formats

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Dec 17 18:40:28 EET 2021


Romain Beauxis:
> (Apologies for the previously mangled message, I’m still honing my tools here!)
> 

Things like this and the changelog do not really belong into a commit
message to be committed; the proper place for such comments is between
the "---" and the "libavdevice/avfoundation.m | 250
+++++++++++++++++++++----------------" below.

> This is the first patch of a series of 3 that cleanup and enhance the
> avfoundation implementation for libavdevice.
> 
> Changes:
> * v2: None
> * v3: None
> * v4: None
> * v5: Fix indentation/wrapping
> 
> * Implement support for AudioConverter
> * Switch to AudioConverter's API to convert unsupported PCM
>   formats (non-interleaved, non-packed) to supported formats
> * Minimize data copy.
> 
> This fixes: https://trac.ffmpeg.org/ticket/9502
> 
> API ref:
> https://developer.apple.com/documentation/audiotoolbox/audio_converter_services
> 
> Signed-off-by: Romain Beauxis <toots at rastageeks.org>
> ---
> libavdevice/avfoundation.m | 250 +++++++++++++++++++++----------------
> 1 file changed, 144 insertions(+), 106 deletions(-)
> 


More information about the ffmpeg-devel mailing list