bluez5: Add G722 codec for ASHA

For documentation on ASHA, see
https://source.android.com/docs/core/connect/bluetooth/asha
This commit is contained in:
Sanchayan Maity 2024-11-26 16:41:04 +05:30 committed by Wim Taymans
parent 6a5f2bbd1f
commit 41d099a580
9 changed files with 319 additions and 3 deletions

View file

@ -173,6 +173,16 @@ if get_option('bluez5-codec-lc3').allowed() and lc3_dep.found()
install_dir : spa_plugindir / 'bluez5')
endif
if get_option('bluez5-codec-g722').allowed() and ffmpeg.allowed()
bluez_codec_g722 = shared_library('spa-codec-bluez5-g722',
[ 'asha-codec-g722.c', 'media-codecs.c' ],
include_directories : [ configinc ],
c_args : codec_args,
dependencies : [ spa_dep, avcodec_dep, avformat_dep, avutil_dep ],
install : true,
install_dir : spa_plugindir / 'bluez5')
endif
test_apps = [
'test-midi',
]