mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-21 01:40:34 -05:00
bluez5: use ldacBT for both decode and encode
This commit is contained in:
parent
7fd05e7eaa
commit
c727e8f8f9
3 changed files with 9 additions and 5 deletions
|
|
@ -470,7 +470,7 @@ static void *codec_init(const struct media_codec *codec, uint32_t flags,
|
|||
#endif
|
||||
|
||||
#ifdef ENABLE_LDAC_ABR
|
||||
this->ldac_abr = ldac_ABR_get_handle();
|
||||
this->ldac_abr = ldac_ABR_get_handle(NULL);
|
||||
if (this->ldac_abr == NULL)
|
||||
goto error_errno;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -141,7 +141,6 @@ if ldac_dep.found()
|
|||
endif
|
||||
if get_option('bluez5-codec-ldac-dec').allowed() and ldac_dec_dep.found()
|
||||
ldac_args += [ '-DENABLE_LDAC_DEC' ]
|
||||
ldac_dep = [ldac_dep, ldac_dec_dep]
|
||||
endif
|
||||
bluez_codec_ldac = shared_library('spa-codec-bluez5-ldac',
|
||||
[ 'a2dp-codec-ldac.c', 'media-codecs.c' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue