On Thursday 13 December 2018 19:43:38 EHfive wrote:
> diff --git a/src/modules/bluetooth/a2dp/a2dp-codecs.h 
> b/src/modules/bluetooth/a2dp/a2dp-codecs.h
> index aefafb635..a6f054aec 100644
> --- a/src/modules/bluetooth/a2dp/a2dp-codecs.h
> +++ b/src/modules/bluetooth/a2dp/a2dp-codecs.h
> @@ -141,6 +141,9 @@
>  #define APTX_SAMPLING_FREQ_44100     0x02
>  #define APTX_SAMPLING_FREQ_48000     0x01
>  
> +#define APTX_HD_VENDOR_ID                    0x000000D7

This ID is assigned to Qualcomm Technologies, Inc. Not for aptX HD
codec, or aptX HD vendor.

> +#define APTX_HD_CODEC_ID                     0x0024
> +
>  #define LDAC_VENDOR_ID                       0x0000012d
>  #define LDAC_CODEC_ID                        0x00aa
>  

I wrote alternative implementation of aptX codec support for pulseaudio.
It does not use big ffmpeg, but rather small libopenaptx library from
https://github.com/pali/libopenaptx Patches are already in mailing list...

Anyway, aptX decoder (both hd and non-hd variants) in ffmpeg has delay
of about 90 samples. I have already some idea how to fix... and will try
to implement it in libopenaptx. (Recompiling ffmpeg just for testing and
debugging one codec is big pain; small library is better for this).

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to