Reply To: Bluetooth Addon BETA

Max2Play Home 2016 (en) Forums Max2Play Add-ons Bluetooth Addon BETA Reply To: Bluetooth Addon BETA

17. March 2016 at 12:00 #19331

Hi,

thanks for developing BT support.
I currently have:
– pairing working
– pulse output configured and squeezelite running
– no audio send to speaker

Running:
Version Beta-160301 (installed from jessie image)
Raspberry PI 2B

Debug info:
#### Bluetooth Installation ####

#### Bluetooth Dongle ####
hci0: Type: BR/EDR Bus: USB
BD Address: 00:15:83:E5:C5:34 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:5349 acl:33 sco:0 events:583 errors:0
TX bytes:215649 acl:774 sco:0 commands:50 errors:0

#### DEVICE XW-BTSP1 ####
[C8:84:47:28:57:65]
Name: XW-BTSP1
Alias: XW-BTSP1 [rw]
Address: C8:84:47:28:57:65
Icon: audio-card
Class: 0x240414
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl]

#### PCACMD LIST | grep active ####
active port: <analog-output>
active port: <speaker-output>
active profile: <output:analog-stereo>
active profile: <a2dp>

#### PCACMD LIST | grep sink ####
Default sink name: bluez_sink.C8_84_47_28_57_65
Default source name: bluez_sink.C8_84_47_28_57_65.monitor
module.description = “When a bluetooth sink or source is added, load module-loopback”
module.description = “Automatically restore the default sink and source”
module.description = “When a sink/source is removed, try to move its streams to the default sink/source”
name: <module-always-sink>
module.description = “Always keeps at least one sink loaded even if it’s a null one”
module.description = “When a sink/source is idle for too long, suspend it”
module.description = “Load filter sinks automatically when needed”
module.description = “BlueZ 5 Bluetooth audio sink and source”
2 sink(s) available.
name: <bluez_sink.C8_84_47_28_57_65>
bluetooth.protocol = “a2dp_sink”
name: <bluez_sink.C8_84_47_28_57_65.monitor>
sinks:
sinks:
bluez_sink.C8_84_47_28_57_65/#1: XW-BTSP1
bluez_sink.C8_84_47_28_57_65.monitor/#1: Monitor of XW-BTSP1
1 sink input(s) available.
sink: 0 <alsa_output.0.analog-stereo>
module-stream-restore.id = “sink-input-by-application-name:ALSA plug-in [squeezelite]”

#### X-SERVER RUNNING ####
1

#### SQUEEZELITE VERSION ####
Squeezelite v1.8, Copyright 2012-2015 Adrian Smith.

#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o pulse -a 80:4::
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d default:CARD=ALSA
USE_USB_DAC=0
USE_EQUALIZER=0
SYSTEM_USER=pi

#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
pulse – PulseAudio Sound Server
equal
plugequal – Equalizer for plughw:0,0
default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions

#### SHAIRPORT VERSION ####
2.8.0-openssl-Avahi-ALSA-soxr

#### OUTPUT SOUND DETAILS CARD 0 ####
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 16384
buffer_size: 16384

#### OUTPUT SOUND DETAILS CARD 1 ####