GithubHelp home page GithubHelp logo

Comments (8)

arkq avatar arkq commented on September 20, 2024

Can you provide full debug logs (project configured with --enable-debug) from bluealsa service?

from bluez-alsa.

KMartus avatar KMartus commented on September 20, 2024

bluealsa: [45420] D: bluez.c:1407: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
bluealsa: [46079] D: ba-transport.c:1983: Exiting IO thread [ba-a2dp-sbc]: A2DP Source (SBC)
bluealsa: [46084] D: dbus.c:47: Called: org.bluealsa.PCM1.SelectCodec() on /org/bluealsa/hci0/dev_10_5D_DC_7B_2C_D4/a2dpsrc/sink
bluealsa: [46084] E: ba-transport.c:1290: Couldn't set A2DP configuration: Extra A2DP endpoint not available
bluealsa: [46084] E: bluealsa-dbus.c:757: Couldn't select codec: LDAC: Input/output error
bluealsa: [46084] D: dbus.c:47: Called: org.bluealsa.PCM1.Open() on /org/bluealsa/hci0/dev_10_5D_DC_7B_2C_D4/a2dpsrc/sink
bluealsa: [46084] D: ba-transport.c:741: New A2DP transport: 12
bluealsa: [46084] D: ba-transport.c:742: A2DP socket MTU: 12: R:672 W:1008
bluealsa: [45420] D: bluez.c:1407: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
bluealsa: [45420] D: ba-transport.c:1528: Starting transport: A2DP Source (SBC)
bluealsa: [45420] D: ba-transport.c:448: Created BT socket duplicate: [12]: 13
bluealsa: [46085] D: codec-sbc.c:262: SBC setup: 44100 Hz DualChannel allocation=SNR blocks=16 sub-bands=8 bit-pool=47 => 551250 bps
bluealsa: [46085] D: a2dp-sbc.c:222: IO loop: START: a2dp_sbc_enc_thread: A2DP Source (SBC)
bluealsa: [45420] D: ba-transport.c:1949: Created new IO thread [ba-a2dp-sbc]: A2DP Source (SBC)

from bluez-alsa.

arkq avatar arkq commented on September 20, 2024

Sorry, I did not say it clearly. I'd like to see log from the very beginning of bluealsa service start/restart. I'd like to see the moment when the headset connects, because currently I've got no headset with LDAC support... Also, you can provide the output from the bluealsa-cli info /org/bluealsa/hci0/dev_10_5D_DC_7B_2C_D4/a2dpsrc/sink.

EDIT:
Also, to eliminate some obvious setup issue, I hope that you've started bluealsa service with -c ldac command line option, so runtime LDAC support is enabled?

from bluez-alsa.

KMartus avatar KMartus commented on September 20, 2024

with -c ldac everything is ok, previously it worked without this option
now my command line looks like this:

/usr/bin/bluealsa -S --profile=a2dp-source --a2dp-volume --a2dp-force-audio-cd --sbc-quality=xq+ -c ldac --ldac-abr --aac-afterburner

so I can use all codecs SBC (all profiles), AAC, LDAC (all profiles)

from bluez-alsa.

arkq avatar arkq commented on September 20, 2024

After update from 4.0 to 4.1.1 LDAC doesn't work. SBC and AAC are ok.
with -c ldac everything is ok, previously it worked without this option

Are you sure that you've upgraded from 4.0.0 ? Because the requirement to enable all vendor codecs on the command line was introduced in 4.0.0.

from bluez-alsa.

KMartus avatar KMartus commented on September 20, 2024

100% sure
now I see that default codecs are SBC and AAC

from bluez-alsa.

arkq avatar arkq commented on September 20, 2024

100% sure

I've just checked code on tag v4.0.0 and by default only SBC and AAC is enabled... So, it's very strange that you've been using 4.0.0 before without the need to explicitly enable LDAC codec.

now I see that default codecs are SBC and AAC

Yes, now only codec which are covered by the specification are enabled by default (with the omission for MP3, because according to my tests MP3 support does not work reliably enough). However, for safety of future upgrades I would recommend to specify -c aac as well...
SBC will not be disabled by default in any version for sure, because it's a mandatory codec :D

from bluez-alsa.

KMartus avatar KMartus commented on September 20, 2024

Sure. THX

from bluez-alsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.