Comments (32)
PPA source here
https://launchpad.net/~eh5/+archive/ubuntu/pulseaudio-a2dp
# Ubuntu 18.04, 18.10
sudo add-apt-repository ppa:eh5/pulseaudio-a2dp
sudo apt-get update
sudo apt-get install libavcodec-dev libldac pulseaudio-module-bluetooth
from pulseaudio-modules-bt.
Linux hem 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
pi@hem:~/build/pulseaudio-modules-bt/build$ pactl list sinks | grep -e bluez -e a2dp_codec
Name: bluez_sink.40_EF_4C_84_21_83.a2dp_sink
Driver: module-bluez5-device.c
Monitor Source: bluez_sink.40_EF_4C_84_21_83.a2dp_sink.monitor
bluetooth.a2dp_codec = "aptX"
device.api = "bluez"
bluez.path = "/org/bluez/hci0/dev_40_EF_4C_84_21_83"
bluez.class = "0x240414"
bluez.alias = "Stanmore Bluetooth"
Name: bluez_sink.04_5D_4B_66_95_C2.a2dp_sink
Driver: module-bluez5-device.c
Monitor Source: bluez_sink.04_5D_4B_66_95_C2.a2dp_sink.monitor
bluetooth.a2dp_codec = "LDAC"
device.api = "bluez"
bluez.path = "/org/bluez/hci0/dev_04_5D_4B_66_95_C2"
bluez.class = "0x240404"
bluez.alias = "h.ear (MDR-100ABN)"
Success!
from pulseaudio-modules-bt.
libldac is built & bundled with the package (see contents).*
As for aptX, the package probably should depend on ffmpeg. But since I have written the script back in the times, when there was no aptX support in this project, it is not reflected in the script. Since then, I have switched to using the PPA from above: https://launchpad.net/~eh5/+archive/ubuntu/pulseaudio-a2dp
However, mainstream (PPA) package does not bundle libldac: it depends on it (this is slight difference).
from pulseaudio-modules-bt.
@EHfive Would it be possible to offer packages for Disco and Eoan at the Ubuntu PPA? Much appreciated work here
from pulseaudio-modules-bt.
I didn't want to create a separate issue, I just wanted to mention there is a NixOS package:
NixOS/nixpkgs#46505
from pulseaudio-modules-bt.
Do you know if someone has created a package for Debian Stretch?
from pulseaudio-modules-bt.
I'm trying to compile on stretch on my raspberry pi... but it seems complicated due to versions
from pulseaudio-modules-bt.
@EHfive thanks a lot for your work and especially for the PPA! I've just confirmed it works on Ubuntu 18.04. It changes PulseAudio from 11.1 to 12.2, but works :)
Sennheiser HD 4.50 BTNC with aptX @ Ubuntu 18.04:
Name: bluez_sink.00_16_94_27_C3_E6.a2dp_sink
Driver: module-bluez5-device.c
bluetooth.a2dp_codec = "APTX"
device.api = "bluez"
bluez.path = "/org/bluez/hci0/dev_00_16_94_27_C3_E6"
bluez.class = "0x240404"
bluez.alias = "HD 4.50BTNC"
from pulseaudio-modules-bt.
@EHfive Thank you so much ! Installed it from PPA, worked like a charm.
Sennheiser Momentum Wireless / Ubuntu 18.04
AVDTP(s): Set config cmd: transaction 5 nsp 0x00
ACP SEID 3 - INT SEID 3
Media Transport
Media Codec - non-A2DP (aptX)
44.1kHz
Stereo
Delay Reporting
< AVDTP(s): Set config rsp: transaction 5 nsp 0x00
from pulseaudio-modules-bt.
It seems new version has AAC supported.
Any plan to upgrade PPA's packages version?
from pulseaudio-modules-bt.
It seems new version has AAC supported.
Any plan to upgrade PPA's packages version?
I didn't update PPA's packages before because AAC is not such important comparing with aptX, LDAC.
But since you are requesting, I would update it.
Check my PPA next day.
from pulseaudio-modules-bt.
It seems new version has AAC supported.
Any plan to upgrade PPA's packages version?I didn't update PPA's packages before because AAC is not such important comparing with aptX, LDAC.
But since you are requesting, I would update it.Check my PPA next day.
So kind of you.
I have Pixel Buds which is support AAC.
I'll have a try after PPA upgrade.
from pulseaudio-modules-bt.
It works great. Thank you!
name: <bluez_sink.70_26_05_BF_57_79.a2dp_sink>
driver: <module-bluez5-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause: (none)
priority: 9050
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 43,28 ms
max request: 2 KiB
max rewind: 0 KiB
monitor source: 10
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
fixed latency: 36,61 ms
card: 4 <bluez_card.70_26_05_BF_57_79>
module: 31
properties:
bluetooth.protocol = "a2dp_sink"
bluetooth.a2dp_codec = "LDAC"
device.description = "WH-1000XM2"
device.string = "70:26:05:BF:57:79"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_70_26_05_BF_57_79"
bluez.class = "0x240404"
bluez.alias = "WH-1000XM2"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
from pulseaudio-modules-bt.
I'm trying to compile on stretch on my raspberry pi... but it seems complicated due to versions
I've successfully compile on stretch on rpi, but when I ran it pulseaudio crashes at connect (does not do this with original modules-bluetooth* ).
Steps (from memory maybe forget somethings) to compile, can do a more exact guide if I get it to work:
Pulseaudio 12.2 with bluez5
cmake (install not necessary, use the compiled bin)
libfdk-aac
x264 (since I wanted --enable-omx-rpi in ffmpeg)
ffmpeg
pulseaudio-modules-bt
from pulseaudio-modules-bt.
@elvenfighter, I'm trying to install this fork on my Debian unstable, do you recommend compiling a .deb
package is better or just straight up make install
taking into consideration future Debian updates that will probably interfere with make install
d files?
If I use your script to make the package, can I just dpkg -i
that or will there be anymore dependencies to resolve that may or may not break it all?
from pulseaudio-modules-bt.
I was building on Ubuntu, and as you know it is basically Debian Unstable (i.e. Sid). So it should be ok in your case (provided version of pulseaudio is matching).
As for the way of installing, I prefer to keep my system well organized, that is why I prefer installing from packages (and not by make install
). If you feel the same, I highly recommend install from package
from pulseaudio-modules-bt.
The package created using your script appears to have installed without complaint on my container, but what of the codecs? It doesn't seem to express dependencies on packages that provides aptX
or ldac
codecs. dpkg -S
shows that I do have the relevant libraries installed, but I think your .deb
should explicitly depend on it if it doesn't already (I'm not familiar with the processing of building packages, so forgive me if I'm calling you on something you already took care of).
from pulseaudio-modules-bt.
maybe forget somethings) to compile, ca
Any chance you can share a build guide please?
from pulseaudio-modules-bt.
Good job, building .deb package in Debian 10 Buster (pa v12.2) worked quite well. I've only used aptX though and I've changed package version of pulseaudio-module-bluetooth to 12.2-4+aptx manually.
from pulseaudio-modules-bt.
maybe forget somethings) to compile, ca
Any chance you can share a build guide please?
#55 have fun...
from pulseaudio-modules-bt.
Has anyone had any success getting this to work on a Raspberry Pi 3b(+) stretch?
I'd love to use my Pi as a bluetooth receiver for AptX/LDAC from my phone to my old (dumb) amp/receiver.
from pulseaudio-modules-bt.
I recommend using Buster, Stretch has quite old PA, v10.0.
from pulseaudio-modules-bt.
I join to request for 19.04 packaging.
from pulseaudio-modules-bt.
+1 for 19.04.
I am using the cosmic one, and it works perfectly (with a restart)
:)
from pulseaudio-modules-bt.
@kcajjones If you try to get it going on Debian Buster, and want to use pulseaudio, note that you'll need to remove bluealsa or it will prevent the a2dp profile from becoming available.
from pulseaudio-modules-bt.
Good job, building .deb package in Debian 10 Buster (pa v12.2) worked quite well. I've only used aptX though and I've changed package version of pulseaudio-module-bluetooth to 12.2-4+aptx manually.
Can you share a file for debian?
from pulseaudio-modules-bt.
@tborowy this is my current build, it works flawlessly (switches to aptX automatically whenever I turn my headphones on), but I wouldn't trust unknown sources, use with precaution. I am using version suffix so a new upstream update would replace this version, so you loose aptX.
pulseaudio-module-bluetooth_12.2-4+deb10u1+aptx_amd64.deb.zip
from pulseaudio-modules-bt.
HD 4.50
I have the same headphones, but still when I change the mic from integrated on my laptop to HD4.50BTNC sound profile switches from High Fidelity Playback (A2DP Sink) to Headset Head Unit (HSP/HFP).
from pulseaudio-modules-bt.
However, I wanted to share my script for re-building
pulseaudio-module-bluetooth
using binaries build form these sources and the original DEB shenanigans from (Ubuntu/Debian) repository.
Thanks for the script @elvenfighter! A small issue I found building this in Debian unstable: You might need to change the sed
call that changes the Version: in debian/control to something like:
sed -e "s/^Version: \(.*\)$/Version: \1-9git+${TIMESTAMP}~${GIT_HASH}/" -i "${PKG_NAME}/DEBIAN/control"
(Note the simplification of the Version: selector)
Also note that in Debian unstable you'll have to build the pa
submodule in its master version (this is also explained in this project's README).
And remember that if things explode you can just reinstall the original pulseaudio-modules-bluetooth .deb that should be in the same directory as your now modified version. Good luck!
from pulseaudio-modules-bt.
Can we add this script to the the repo with a PR?
from pulseaudio-modules-bt.
Is there any difference between pulseaudio-module-bluetooth and pulseaudio-module-bt
Instructions here suggest installing pulseaudio-module-bluetooth whereas on the main page suggest installing pulseaudio-module-bt.
Which one should be installed?
from pulseaudio-modules-bt.
Anyone who have made aptX work with Raspiban Stretch on a RPI 3B+ that can share a short how-to?
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.