Comments (9)
I've quick-patched @EHfive's module to support aptX Low Latency and it worked with stock libopenaptx. I've got about 50-65 ms of latency, which is much lower than with stock aptX.
Mailed @pali and @EHfive the Bluetooth dump with aptX LL traffic.
from pulseaudio-modules-bt.
@EHfive Hey! Awesome work you did with this pa module.
Would really love to have aptx-ll supported. What's the main issue with implementing this? If it's just some tedious work maybe I could help with little guidance from your side. I've been able to build the project and successfully get it running and able to test. Also I have aptx-ll compat device.
from pulseaudio-modules-bt.
@EHfive Thanks for the great work!
Sadly aptx-ll
is 'forgotten' on many audiophile devices due to its lower sound quality and licence structure of codex family. The codex has a real value to htpc/gaming setups, where you can place raspberry pi
(or other boards) that would receive the output sound from tv/receiver and broadcast it in the aptx-ll
format. I have tried multiple BT solutions, built-in and externals, with multiple streaming codexes, none except aptx-ll
offer the level of latency acceptable for video/gaming.
I would like to help out with this feature, but I'm a js developer myself with a past experience from around 10 year ago at C++ (real time image processing). If you can spare the time and have the will, please share some links on the specs/structure of the codex and what need to be done, so I (or someone else) could follow this up.
In any case it would be nice to reopen this issue and add help needed
tag to it.
from pulseaudio-modules-bt.
Seems aptX LL & aptX Classic share the encoding/decoding processes.
If someone can help to test, aptX LL support could be added to this module.(I have no aptX LL capable device)
from pulseaudio-modules-bt.
I've quick-patched @EHfive's module to support aptX Low Latency and it worked with stock libopenaptx. I've got about 50-65 ms of latency, which is much lower than with stock aptX.
Mailed @pali and @EHfive the Bluetooth dump with aptX LL traffic.
@ValdikSS can you share your repository? I'll love to test this out.
from pulseaudio-modules-bt.
Hi, did the the aptX LL feature make it into the module?
Otherwise I'd really like to see your patched one. @ValdikSS
from pulseaudio-modules-bt.
I can help, i have aptx LL capable headphones, just tell me what to do.
from pulseaudio-modules-bt.
Thanks all.
When I look into aptx LL configuration headers, I found that aptX LL have 7 more parameters than aptX.
So let other one to test it would be inefficient,
I decide to put down it now.
typedef struct {
uint8_t reserved;
uint8_t target_level2;
uint8_t target_level1;
uint8_t initial_level2;
uint8_t initial_level1;
uint8_t sra_max_rate;
uint8_t sra_avg_time;
uint8_t good_working_level2;
uint8_t good_working_level1;
} __attribute__ ((packed)) a2dp_aptx_ll_new_caps_t;
typedef struct {
a2dp_vendor_codec_t info;
uint8_t channel_mode:4;
uint8_t frequency:4;
} __attribute__ ((packed)) a2dp_aptx_t;
typedef struct {
a2dp_vendor_codec_t info;
uint8_t direction;
uint8_t sink_frequency:4;
uint8_t source_frequency:4;
} __attribute__ ((packed)) a2dp_faststream_t;
typedef struct {
a2dp_vendor_codec_t info;
uint8_t channel_mode:4;
uint8_t frequency:4;
uint8_t bidirect_link:1;
uint8_t has_new_caps:1;
uint8_t reserved:6;
a2dp_aptx_ll_new_caps_t new_caps[0];
} __attribute__ ((packed)) a2dp_aptx_ll_t;
from pulseaudio-modules-bt.
@BAAZKonqi nope, but there is a patch for it upstream (I haven't personally tested it)
Edit: Actually it might not be there yet... the author said they planned on it. (see #100)
from pulseaudio-modules-bt.
Related Issues (20)
- ffmpeg_libs.c: Cannot open libavcodec library: libavcodec.so.58. /lib/i386-linux-gnu/libxvidcore.so.4: cannot make segment writable for relocation: Operation not permitted HOT 3
- Support for 2 SBC profiles HOT 2
- [Question] How to change LDAC bit rate or force highest abrQualityModeID HOT 2
- [BUG] bluetooth HSP/HFP does not work with autodetect_mtu=1 HOT 3
- [BUG] Can't build with libpulse/pulseaudio v13.99.3 HOT 2
- Module settings ignored? Cannot connect Bose 700 in Dual Channel SBC HD/XQ mode. HOT 4
- Incompatible with pulseaudio 14.0 release HOT 2
- Packaging issue? Cannot install on Fedora Silverblue 33 using RPM Fusion 33? HOT 2
- [BUG] Only SBC Available on WH-1000xm3 HOT 1
- unsupported codecs on QCC3020 device HOT 5
- [BUG] unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument HOT 2
- Get it into official repositories HOT 4
- Pipewire coming to Fedora HOT 10
- Donations HOT 1
- Support for changing AAC frequency cutoff HOT 1
- Errors when trying to use SBC HOT 1
- [BUG] HOT 1
- [BUG] error: pathspec 'v14.0' did not match any file(s) known to git HOT 2
- [BUG] Can no longer switch from HFP/HSP to any other profile HOT 1
- Deprecation Announcement HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-modules-bt.