Bug 10751 - Missing dependency in pulseaudio package
Summary: Missing dependency in pulseaudio package
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.02.7
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 17:53 UTC by Jean-pierre Cartal
Modified: 2018-06-06 13:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.