mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez: fix compilation some more
This commit is contained in:
parent
b2c8bd9311
commit
2f46ee2793
1 changed files with 2 additions and 3 deletions
|
|
@ -69,14 +69,13 @@ done:
|
||||||
static int codec_fill_caps(const struct media_codec *codec, uint32_t flags,
|
static int codec_fill_caps(const struct media_codec *codec, uint32_t flags,
|
||||||
uint8_t caps[A2DP_MAX_CAPS_SIZE])
|
uint8_t caps[A2DP_MAX_CAPS_SIZE])
|
||||||
{
|
{
|
||||||
bool have_eld = eld_supported();
|
const a2dp_aac_t a2dp_aac = {
|
||||||
static const a2dp_aac_t a2dp_aac = {
|
|
||||||
.object_type =
|
.object_type =
|
||||||
/* NOTE: AAC Long Term Prediction and AAC Scalable are
|
/* NOTE: AAC Long Term Prediction and AAC Scalable are
|
||||||
* not supported by the FDK-AAC library. */
|
* not supported by the FDK-AAC library. */
|
||||||
AAC_OBJECT_TYPE_MPEG2_AAC_LC |
|
AAC_OBJECT_TYPE_MPEG2_AAC_LC |
|
||||||
AAC_OBJECT_TYPE_MPEG4_AAC_LC |
|
AAC_OBJECT_TYPE_MPEG4_AAC_LC |
|
||||||
have_eld ? AAC_OBJECT_TYPE_MPEG4_AAC_ELD : 0,
|
(eld_supported() ? AAC_OBJECT_TYPE_MPEG4_AAC_ELD : 0),
|
||||||
AAC_INIT_FREQUENCY(
|
AAC_INIT_FREQUENCY(
|
||||||
AAC_SAMPLING_FREQ_8000 |
|
AAC_SAMPLING_FREQ_8000 |
|
||||||
AAC_SAMPLING_FREQ_11025 |
|
AAC_SAMPLING_FREQ_11025 |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue