Skip to content

Commit c26389c

Browse files
ford-prefectVudentz
authored andcommitted
profiles/audio: Add an ASHA plugin
This exposes the ASHA profile implementation in the previous commit as an audio profile. The implementation registers a remote endpoint using a subset of the MediaEndpoint1 interface, without any mechanism for setting/selecting a configuration, as this is all static in the spec for now. Also exposed on connection is a MediaTransport1 object, which can be used to obtain an fd to stream to the device. Resolves: #481
1 parent 8e4bece commit c26389c

File tree

7 files changed

+803
-2
lines changed

7 files changed

+803
-2
lines changed

Makefile.plugins

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,8 @@ if CSIP
147147
builtin_modules += csip
148148
builtin_sources += profiles/audio/csip.c
149149
endif
150+
151+
if ASHA
152+
builtin_modules += asha
153+
builtin_sources += profiles/audio/asha.h profiles/audio/asha.c
154+
endif

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ AC_ARG_ENABLE(csip, AS_HELP_STRING([--disable-csip],
216216
[disable CSIP profile]), [enable_csip=${enableval}])
217217
AM_CONDITIONAL(CSIP, test "${enable_csip}" != "no")
218218

219+
AC_ARG_ENABLE(asha, AS_HELP_STRING([--disable-asha],
220+
[disable ASHA support]), [enable_asha=${enableval}])
221+
AM_CONDITIONAL(ASHA, test "${enable_asha}" != "no")
222+
219223
AC_ARG_ENABLE(tools, AS_HELP_STRING([--disable-tools],
220224
[disable Bluetooth tools]), [enable_tools=${enableval}])
221225
AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no")

0 commit comments

Comments
 (0)