Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Bluetooth Audio output (Transmitter)
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Bluetooth Audio output (Transmitter)
28th May, 2021, 10:21 PM
Post: #55
ppianigiani Offline
Registered
Posts: 9
Joined: May 2021
Reputation: 0
RE: Bluetooth Audio output (Transmitter)
Hello all,
I'm an Xbian newbie (as you might understand from the rest of my post... Smile) and I'm trying to use BT headphones connected to my RPi3B+ onboard BT module, running the latest version of Xbian and it seems I'm hitting permissions issues.

So far I was able to:
  • connect my BT headphones to the RPi BT onboard module (using pulseaudio/bluetoothctl)
  • select "ALSA: Playback/recording through the PulseAudio sound server" on Kodi's System > Audio > Audio output device config

When I boot up my RPi, the BT HPs always get connected and once Kodi has automatically started, I can hear beeps&ticks when moving through Kodi's menus, so everything seems to work fine, but when I try to play a video from Kodi or from an addon (i.e. Amazon VOD or YouTube), the audio stops on my BT HPs and after that, no way to get it working again (no more beeps&ticks when moving through Kodi menus).

Then, if I close Kodi and from a ssh console (logged in as xbian user) I kill the "pulseaudio" process, restart it, re-connect my BT HPs using "bluetoothctl" commands and restart kodi (using "kodi start" command), then everything works fine, I can hear perfect audio on my BT HPs when playing a video both through Kodi or through an addon.
This second scenario makes me think I'm hitting some permissions issues on the first scenario, but I was not able to find the cause: I tried to follow all the instructions in this thread, but I found no solution yet.

Here's my system config:

Software
XBian version: Xbian 1.0 (knockout) (kernel: Linux 5.4.114+)
XBMC/Kodi version: 19.1 Matrix
Overclock settings: None

Hardware
Device type and model: Raspberry Pi 3 Model B+
Power supply rating: Output 5V/2.0A
SD card size and make/type: MicroSD HC 32GB - A1
Network: Ethernet eth0 (static setting)
Connected devices (TV, USB, network storage, ...): HMDI monitor


Here's a log file when I can't hear any audio from my BT headphones when playing a video:
kodi.log from NON-working scenario

And here's a log file from the second scenario, when everything works fine, as expected:
kodi.log from working scenario

From what I've seen on the log files, in the first scenario I can see the following log entries:

Code:
2021-05-28 10:38:16.274 T:3137     INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-05-28 10:38:16.274 T:3137    DEBUG <general>: CActiveAESink::OpenSink - trying to open device ALSA:default
2021-05-28 10:38:16.274 T:3137     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-05-28 10:38:16.284 T:3137     INFO <general>: CAESinkALSA::Initialize - Opened device "default"

This seems to be when I can hear sounds from my BT headphones moving thorugh Kodi menus, but when I start playing a video, these are the entries on the log file:

Code:
2021-05-28 10:40:17.329 T:3137     INFO <general>: CActiveAESink::OpenSink - initialize sink
(...)
2021-05-28 10:40:17.536 T:3137     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-05-28 10:40:17.547 T:3137     INFO <general>: CAESinkALSA - Unable to open device "default" for playback
2021-05-28 10:40:17.547 T:3137    ERROR <general>: CAESinkALSA::Initialize - failed to initialize device "default"


On the other hand, in the working scenario I can see these entries when I start playing a movie:

Code:
2021-05-28 10:46:41.127 T:5482     INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-05-28 10:46:41.327 T:5478    DEBUG <general>: Sink changed
2021-05-28 10:46:41.330 T:5482    DEBUG <general>: Skipped 2 duplicate messages..
2021-05-28 10:46:41.330 T:5482    DEBUG <general>: CActiveAESink::OpenSink - trying to open device ALSA:default
2021-05-28 10:46:41.331 T:5482     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2021-05-28 10:46:41.344 T:5482     INFO <general>: CAESinkALSA::Initialize - Opened device "default"

Does anyone have any idea why this is happening?

Many thanks!
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Bluetooth Audio output (Transmitter) - IriDium - 30th Apr, 2016, 12:12 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 30th Apr, 2016, 04:11 AM
RE: Bluetooth Audio output (Transmitter) - BreadPit - 7th Feb, 2019, 08:17 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 8th Feb, 2019, 06:29 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 30th Apr, 2016, 05:10 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 10th May, 2016, 03:35 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 12th May, 2016, 11:02 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 10th May, 2016, 07:54 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 12th May, 2016, 06:42 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 12th May, 2016, 07:38 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 12th May, 2016, 08:32 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 12:05 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 12:23 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 12:31 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 12:48 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 01:11 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 03:16 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 13th May, 2016, 04:18 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 04:43 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 14th May, 2016, 03:25 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 15th May, 2016, 01:12 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 15th May, 2016, 04:53 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 15th May, 2016, 05:52 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 15th May, 2016, 11:56 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 02:58 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 16th May, 2016, 03:20 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 09:36 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 11:56 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 18th May, 2016, 02:35 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 18th May, 2016, 02:57 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 20th May, 2016, 11:20 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 21st May, 2016, 12:07 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 21st May, 2016, 12:30 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 21st May, 2016, 02:10 AM
RE: Bluetooth Audio output (Transmitter) - f1vefour - 21st May, 2016, 06:26 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 1st Jun, 2016, 10:53 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2016, 02:06 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 2nd Jun, 2016, 03:43 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2016, 04:03 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 2nd Jun, 2016, 04:10 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 4th Jun, 2016, 07:36 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 4th Jun, 2016, 09:52 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 4th Jun, 2016, 10:16 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 01:28 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 10:29 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 6th Jun, 2016, 03:33 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 03:24 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:29 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 03:38 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:49 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:52 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 07:28 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 7th Jun, 2016, 01:05 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 9th Jun, 2016, 04:18 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 28th May, 2021 10:21 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 29th May, 2021, 05:03 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 30th May, 2021, 01:33 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 30th May, 2021, 10:15 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 30th May, 2021, 10:32 PM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 01:55 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 03:20 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 07:41 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 03:38 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 09:05 PM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 11:36 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2021, 04:47 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 3rd Jun, 2021, 12:30 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 3rd Jun, 2021, 04:16 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 5th Jun, 2021, 12:06 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 7th Jun, 2021, 02:20 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 8th Jun, 2021, 01:03 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 20th Jun, 2021, 03:55 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 28th Nov, 2022, 04:40 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 28th Nov, 2022, 05:05 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 4th Dec, 2022, 04:19 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Dec, 2022, 04:32 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 5th Dec, 2022, 02:25 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st May, 2025, 08:15 PM Powered By MyBB, © 2002-2025 MyBB Group.