Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Support for AptX LL (Low-Latency) codec #1

Closed
pasikarkkainen opened this issue Oct 9, 2018 · 14 comments
Closed

RFE: Support for AptX LL (Low-Latency) codec #1

pasikarkkainen opened this issue Oct 9, 2018 · 14 comments

Comments

@pasikarkkainen
Copy link

AptX-LL (Low Latency) is meant for "Vital synchronised audio and video for gaming and multimedia applications". AptX LL has audio latency of around 32-40ms, which is much less than the other codec options currently available for Bluetooth audio. Currently supported AptX and AptX-HD codecs in libopenaptx have higher latency compared to AptX-LL.

@pasikarkkainen pasikarkkainen changed the title RFE: Support for AptX LL (Low-Latency) RFE: Support for AptX LL (Low-Latency) codec Oct 9, 2018
@pali
Copy link
Owner

pali commented Oct 9, 2018

I do not have codec details for aptX Low Latency yet, nor any reference implementation for testing.

@pasikarkkainen
Copy link
Author

pasikarkkainen commented Oct 9, 2018

Yep. For testing there are multiple BT receiver/transmitter dongles (with 3,5 mm analog audio connectors) out there, based on the Qualcomm CSR8670 chip, which support AptX LL. There's also the Qualcomm CSR8675 / BC8675, which also supports AptX HD in addition to Low Latency. Many of these devices can indicate the codec used with LEDs, and are OK for testing this stuff.

I personally have one of these devices, and can help with testing, if information about LL becomes available one day and can be implemented in libopenaptx.

Examples of such external devices: Inateck BR1006 / BR1008, Sonru Bluetooth 5.0 Transmitter Receiver, or Avantree Audikast. There are many other devices out there aswell.

@pali
Copy link
Owner

pali commented Oct 9, 2018

External HW player is not enough. For testing it is needed something which generates (or receive) aptX LL and decodes it to PCM. Some equivalent of decoder.

@pali
Copy link
Owner

pali commented Oct 9, 2018

Also aptX LL encoded samples are needed for development.

@pali
Copy link
Owner

pali commented Dec 17, 2018

@pasikarkkainen now from all information which I have, aptX Low Latency codec is just normal (non-hd) aptX codec with different A2DP parameters (smaller frame / mtu size, different vendor, configuration...).

Therefore available encoder in libopenaptx (and openaptxenc util) should be already able to generate aptX Low Latency stream and decoder should be able to decode it.

A2DP configuration and initialization is part of bluetooth stack, not codec library. Therefore I'm closing this issue as encoder+decoder for aptX Low Latency is already there.

@ValdikSS
Copy link

Can confirm that current version of libopenaptx successfully decodes aptX Low Latency-encoded audio.

@pali
Copy link
Owner

pali commented Jul 19, 2019

I have already experimental aptX-LL patches for pulseaudio and I will send them to mailing list after we fix issues around API and other stuff which is now more important.

@ashleysommer
Copy link

@pali any chance you can look at whether you can push your aptX-LL functionality into Pipewire a2dp?

@pali
Copy link
Owner

pali commented Mar 17, 2021

@pali any chance you can look at

yes, I have looked.

you can push your aptX-LL functionality into Pipewire a2dp?

No, I cannot. Devs&admins disallowed me to do it.

@ashleysommer
Copy link

I'm talking about Pipewire, not Pulseaudio. I thought the pipewire devs were much more receptive?

@pali
Copy link
Owner

pali commented Mar 17, 2021

They too, they have banned me from that project too.

@ashleysommer
Copy link

😞

@cleveHEX
Copy link

They too, they have banned me from that project too.

May I ask you why? Your contributions are very important for me, any chance it will be working in future?

@pali
Copy link
Owner

pali commented Jun 12, 2021

You are asking on wrong place. And there is no chance for future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants