Skip to content

Commit b842141

Browse files
committed
Support for A2DP LHDC codec with v2 capabilities
1 parent 3f1d695 commit b842141

File tree

12 files changed

+352
-107
lines changed

12 files changed

+352
-107
lines changed

.github/iwyu.imp

+3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@
2929

3030
{ include: [ '<glib/gtypes.h>', private, '<glib.h>', public ] },
3131
{ include: [ '"gobject/gclosure.h"', private, '<glib-object.h>', public ] },
32+
{ include: [ '"gio/gdbusinterface.h"', private, '<gio/gio.h>', public ] },
3233
{ include: [ '"gio/gdbusinterfaceskeleton.h"', private, '<gio/gio.h>', public ] },
34+
{ include: [ '"gio/gdbusobject.h"', private, '<gio/gio.h>', public ] },
3335
{ include: [ '"gio/gdbusobjectmanager.h"', private, '<gio/gio.h>', public ] },
36+
{ include: [ '"gio/gdbusobjectmanagerclient.h"', private, '<gio/gio.h>', public ] },
3437
{ include: [ '"gio/gdbusobjectmanagerserver.h"', private, '<gio/gio.h>', public ] },
3538
{ include: [ '"gio/gdbusobjectskeleton.h"', private, '<gio/gio.h>', public ] },
3639

.github/workflows/codecov-report.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
working-directory: ${{ github.workspace }}/build
4747
run: make cov
4848
- name: Upload Coverage to Codecov
49-
uses: codecov/codecov-action@v4
49+
uses: codecov/codecov-action@v5
5050
with:
5151
token: ${{ secrets.CODECOV_TOKEN }}
5252
files: build/lcov.info

NEWS

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ unreleased
44
- renamed bluealsa to bluealsad (no backward compatibility)
55
- renamed bluealsa.conf to org.bluealsa.conf (no backward compatibility)
66
- renamed bluealsa-cli to bluealsactl (no backward compatibility)
7-
- optional support for A2DP Sink and Source with LHDC v3 codec
7+
- optional support for A2DP Sink and Source with LHDC v2 and v3 codec
88
- channel map and volume control for surround sound (5.1, 7.1) audio
99
- native A2DP volume control by default (dropped --a2dp-volume option)
1010
- fix configuration for Android 13 A2DP Opus codec

configure.ac

+8-8
Original file line numberDiff line numberDiff line change
@@ -220,22 +220,22 @@ AM_COND_IF([ENABLE_LDAC], [
220220
AC_DEFINE([ENABLE_LDAC], [1], [Define to 1 if LDAC is enabled.])
221221
])
222222

223-
AC_ARG_ENABLE([midi],
224-
[AS_HELP_STRING([--enable-midi], [enable Bluetooth LE MIDI support])])
225-
AM_CONDITIONAL([ENABLE_MIDI], [test "x$enable_midi" = "xyes"])
226-
AM_COND_IF([ENABLE_MIDI], [
227-
AC_DEFINE([ENABLE_MIDI], [1], [Define to 1 if Bluetooth LE MIDI is enabled.])
228-
])
229-
230223
AC_ARG_ENABLE([lhdc],
231224
[AS_HELP_STRING([--enable-lhdc], [enable LHDC support])])
232225
AM_CONDITIONAL([ENABLE_LHDC], [test "x$enable_lhdc" = "xyes"])
233226
AM_COND_IF([ENABLE_LHDC], [
234227
AC_DEFINE([ENABLE_LHDC], [1], [Define to 1 if LHDC is enabled.])
235-
PKG_CHECK_MODULES([LHDC_DEC], [ldhcBT-dec >= 4.0.2])
228+
PKG_CHECK_MODULES([LHDC_DEC], [lhdcBT-dec >= 4.0.2])
236229
PKG_CHECK_MODULES([LHDC_ENC], [lhdcBT-enc >= 4.0.6])
237230
])
238231

232+
AC_ARG_ENABLE([midi],
233+
[AS_HELP_STRING([--enable-midi], [enable Bluetooth LE MIDI support])])
234+
AM_CONDITIONAL([ENABLE_MIDI], [test "x$enable_midi" = "xyes"])
235+
AM_COND_IF([ENABLE_MIDI], [
236+
AC_DEFINE([ENABLE_MIDI], [1], [Define to 1 if Bluetooth LE MIDI is enabled.])
237+
])
238+
239239
AC_ARG_ENABLE([mp3lame],
240240
[AS_HELP_STRING([--enable-mp3lame], [enable MP3 support])])
241241
AM_CONDITIONAL([ENABLE_MP3LAME], [test "x$enable_mp3lame" = "xyes"])

0 commit comments

Comments
 (0)