Bug 10751

Summary: Missing dependency in pulseaudio package
Product: buildroot Reporter: Jean-pierre Cartal <jpcartal>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2017.02.7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jean-pierre Cartal 2018-02-07 17:53:53 UTC
Hello,

I'm trying to add a2dp support (ie. sound over bluetooth) to my target.

A2DP support can be achieved using bluez5 and pulseaudio.

Pulseaudio only build bluetooth related modules if both BR2_PACKAGE_BLUEZ5 and BR2_PACKAGE_SBC are enabled and compiled before the configure step of the pulseaudio package.

Current pulseaudio.mk file contains the following entry :
PULSEAUDIO_DEPENDENCIES= .... $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils) ...

But no corresponding entry for SBC (e.g. $(if $(BR2_PACKAGE_SBC),sbc)).

So sbc might not be available when configuring pulseaudio and consequently no bluetooth related modules get built :
...
    Enable D-Bus:                  yes
      Enable BlueZ 4:              no
      Enable BlueZ 5:              no
        Enable ofono headsets:     no
        Enable native headsets:    no
...

Regards.
Comment 1 Thomas Petazzoni 2018-06-06 13:30:28 UTC
This has been fixed since then in Buildroot, see commit https://git.buildroot.org/buildroot/commit/package/pulseaudio?id=5defa77123bb2f5bc63c0c44e1fa6ce516026de6.