Re: [PATCH 3/4] Add A2DP aptX, aptX HD codecs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



People want using aptx(HD) early.

So I decide to use ffmpeg.

90 samples are only 90/44100 s = 2ms , which is ignorable.


On 12/13/18 11:43 PM, Pali Rohár wrote:
> 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).
>

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux