[FFmpeg-devel] [PATCH 1/2] avcodec/liblc3: Add encoding/decoding support of LC3 audio codec

Stefano Sabatini stefasab at gmail.com
Thu Apr 4 18:39:16 EEST 2024


On date Monday 2024-04-01 21:32:04 +0000, ffmpeg-devel Mailing List wrote:
> The LC3 audio codec is the default codec of Bluetooth LE audio.
> This is a wrapper over the liblc3 library (https://github.com/google/liblc3).
> 
> Signed-off-by: Antoine Soulier <asoulier at google.com>
> ---
>  Changelog                 |   4 +
>  configure                 |   6 ++
>  doc/encoders.texi         |  57 +++++++++++
>  doc/general_contents.texi |  11 +-
>  libavcodec/Makefile       |   2 +
>  libavcodec/allcodecs.c    |   2 +
>  libavcodec/codec_desc.c   |   7 ++
>  libavcodec/codec_id.h     |   1 +
>  libavcodec/liblc3dec.c    | 145 ++++++++++++++++++++++++++
>  libavcodec/liblc3enc.c    | 210 ++++++++++++++++++++++++++++++++++++++
>  10 files changed, 444 insertions(+), 1 deletion(-)
>  create mode 100644 libavcodec/liblc3dec.c
>  create mode 100644 libavcodec/liblc3enc.c

will apply this soon (after a rebase)

Note: I had to add the libavutil/mem.h includes to fix local
compilation.

Also, liblc3 meson will install the .pc file in
lib/x86_64-linux-gnu/pkgconfig/ which is a bit unexpected, as the
PKG_CONFIG_PATH is usually lib/pkgconfig.

Thanks.


More information about the ffmpeg-devel mailing list