mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-13 14:33:03 -04:00
bluez5: use ldacBT for both decode and encode
fixup check version
This commit is contained in:
parent
1272f77eb5
commit
6a8dd07ec9
3 changed files with 14 additions and 7 deletions
|
|
@ -471,7 +471,11 @@ static void *codec_init(const struct media_codec *codec, uint32_t flags,
|
|||
#endif
|
||||
|
||||
#ifdef ENABLE_LDAC_ABR
|
||||
this->ldac_abr = ldac_ABR_get_handle();
|
||||
#ifdef ENABLE_LDAC_DEC
|
||||
this->ldac_abr = ldac_ABR_get_handle(NULL);
|
||||
#else
|
||||
this->ldac_abr = ldac_ABR_get_handle();
|
||||
#endif
|
||||
if (this->ldac_abr == NULL)
|
||||
goto error_errno;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue