No Audio Using Bluetooth Speakers.

Max2Play Home Forums Max2Play on Raspberry PI No Audio Using Bluetooth Speakers.

Viewing 3 posts - 1 through 3 (of 3 total)
  • 6. April 2021 at 20:50 #51088

    Hi Everyone,

    I thought I’d try some Creative T-100 Bluetooth speakers with one of my Max2Play Pi4,1Gb & HifiBerry Amp2 bundles. Using m2p_buster_rpi-v253.img

    Installed everything as normal and updated all the packages and then scanned my media library from an attached USB3 drive.

    Installed the Bluetooth addon and it sees and connects to the speakers. Debug output is:
    #### Bluetooth Installation ####

    #### Bluetooth Dongle ####
    hci0: Type: Primary Bus: UART
    BD Address: DC:A6:32:BD:2B:7E ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING
    RX bytes:3759 acl:34 sco:0 events:180 errors:0
    TX bytes:3892 acl:35 sco:0 commands:149 errors:0

    #### DEVICE Creative T100 ####
    spawn /usr/bin/bluetoothctl
    Agent registered
    [0;94m[Creative T100][0m# info 30:21:76:B8:CF:81
    Device 30:21:76:B8:CF:81 (public)
    Name: Creative T100
    Alias: Creative T100
    Class: 0x00240404
    Icon: audio-card
    Paired: yes
    Trusted: yes
    Blocked: no
    Connected: yes
    LegacyPairing: no

    #### BLUEALSA RUNNING ####
    1

    Then changed the Audiocard advanced settings to select as my soundcard ‚Bluetooth – Your Bluetooth device 30:21:76:B8:CF:81,
    Edited the command line options to -o hw:1 -V Digital -B

    Stopped Shairport running and unticked ‚autostart‘.

    Audioplayer Debug Settings are –

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.

    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC

    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o plug:bluetooth -a 80:4:: -o hw:1 -V Digital -B
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d default:CARD=sndrpihifiberry -t hardware -m hw:1 -c Digital
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    BLUEALSA_PLAY_AUDIOCARD=hw:0,0
    GMEDIARENDERER_ALSA_DEVICE=plug:jack

    #### SQUEEZELITE -l ####
    Output devices:
    null – Discard all samples (playback) or generate zero samples (capture)
    jack – JACK Audio Connection Kit
    pulse – PulseAudio Sound Server
    equal
    plugequal – Equalizer for plughw:0,0
    bluetooth – Your Bluetooth device 30:21:76:B8:CF:81
    default:CARD=Headphones – bcm2835 Headphones, bcm2835 Headphones – Default Audio Device
    sysdefault:CARD=Headphones – bcm2835 Headphones, bcm2835 Headphones – Default Audio Device
    dmix:CARD=Headphones,DEV=0 – bcm2835 Headphones, bcm2835 Headphones – Direct sample mixing device
    dsnoop:CARD=Headphones,DEV=0 – bcm2835 Headphones, bcm2835 Headphones – Direct sample snooping device
    hw:CARD=Headphones,DEV=0 – bcm2835 Headphones, bcm2835 Headphones – Direct hardware device without any conversions
    plughw:CARD=Headphones,DEV=0 – bcm2835 Headphones, bcm2835 Headphones – Hardware device with all software conversions
    usbstream:CARD=Headphones – bcm2835 Headphones – USB Stream Output
    default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Default Audio Device
    sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Default Audio Device
    dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Direct sample mixing device
    dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Direct sample snooping device
    hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Direct hardware device without any conversions
    plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, HiFiBerry DAC+ HiFi pcm512x-hifi-0 – Hardware device with all software conversions
    usbstream:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus – USB Stream Output

    #### SHAIRPORT (SYNC) VERSION ####
    3.3.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc

    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed

    #### OUTPUT SOUND DETAILS CARD 1 ####
    access: MMAP_INTERLEAVED
    format: S32_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 882
    buffer_size: 3528

    Scratching my head as to why I can’t hear any audio from the device through the Bluetooth speakers as everything suggests that they’re connected. If anyone can offer any advice or suggestions to try I’d much appreciate it.

    Many thanks.

    7. April 2021 at 17:02 #51097

    Hi Lomcovaks,

    Since you are not using a sound card via Squeezelite, you do not need the entry -o hw:1 -V Digital in the command line options. Does the audio output work without these parameters?

    8. April 2021 at 11:20 #51104

    Dear Mario,

    Thank you very much for your prompt response and clarification.

    I can confirm that everything is working now.

    I was slightly confused with the instructions on the Bluetooth plugin page that says

    ‚Important: When using Squeezelite with Bluetooth Speakers remove ‚-C 5‘ Parameter from Commandline Options and add ‚-B‘ to sychronize Squeezelite with the Bluetooth Speaker connection (On/Off).‘

    I took this to mean leave the rest of the options that appeared on the command line options, not understanding that I should remove everything but I understand now.

    Many thanks,

    Chris

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Register here