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