Skip to content

Output to ALSA Bluetooth #200

Description

@trickartt

Hello Mike,

I wonder if you could help with a little question I've hit a brick wall on. I'm trying to use my Raspberry Pi as something of an Airplay to Bluetooth bridge - I'm an Airplay household, but I have a Bluetooth speaker I'd like to add to the multi-room setup.

I've got Shairport-Sync running beautifully (thank you for your work on it!) on my Raspberry Pi via a cable, and have Bluetooth audio working via ALSA on the Pi too, but I can't seem to join the two ends together.

I can play music files from the Pi using the command mplayer -ao alsa:device=bluetooth audiofile.mp3, and to allow that to happen, my .asoundrc file looks as so:

pcm.!default {
        type hw
        card 0
}

pcm.bluetooth {
        type bluetooth
        device 00:xx:xx:xx:xx:xx // my actual mac address is here, but you know
        profile "auto"
}

ctl.!default {
        type hw
        card 0
}

I figured that changing the output_device to "bluetooth" and uncommenting the line in the shairport-sync.conf file should make it work, but I get nothing.

Is there anything I'm doing wrong for this to not work? I feel like I'm missing something really obvious (I admit I'm a complete newbie at this!) that's stopping me from getting anywhere.

Thanks for looking, if you have any ideas they would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions