You are not logged in.

#1 2009-09-09 09:05:59

whacath
Member
Registered: 2009-05-26
Posts: 283

mpd and bluetooth headset

Anyone of you guys got mpd and bluetooth audio up and working? I cant seam to find any good info in the matter.

Offline

#2 2009-09-09 10:01:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: mpd and bluetooth headset

Use mpd-pulse (from AUR or compile your own from ABS) and pulseaudio/bluez - easiest way. Haven't tried that myself (I do use mpd-pulse though) as my bluetooth headset is only coming in about a week's time.

Alternatively, alsa has their own bluetooth module. Needs some work in your .asoundrc though.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-09-09 16:18:58

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: mpd and bluetooth headset

Sorry, but I am not using pulseaudio. I am using alsa. And I got sound for the headset set up correctly. But now I wonder how to configure mpd.conf so that mpd works with the headset.

my .asoundrc looks like this:

pcm.bluetooth {
   type bluetooth
   device 00:07:A4:B8:A7:A5
}

Offline

#4 2009-09-09 22:45:39

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: mpd and bluetooth headset

Maybe change your default to be the bluetooth?

IMO, you'd want to use pulse just so you're able to move the stream back and forth when you feel like it.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2009-09-09 23:00:32

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: mpd and bluetooth headset

No i dont want to use pulseaudio and i can move the "stream" back and forth with alsa too.

Offline

#6 2009-09-10 02:12:19

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: mpd and bluetooth headset

So how do i make bluetooth audio the default output?

I have tried:

pcm.!default {
   type bluetooth
   device 00:07:A4:B8:A7:A5
}

but nothing happens

Offline

#7 2009-09-10 03:23:05

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: mpd and bluetooth headset

I'm just guessing here, but maybe something along the lines of this in /etc/mpd.conf

audio_output {
        type                    "alsa"
        name                    "My ALSA Device"
        device                  "hw:0,0"
        format                  "44100:16:2"
}

Change the 'device' line to suit whatever numbers your bluetooth headset is...

Offline

#8 2010-11-27 15:11:25

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: mpd and bluetooth headset

I apologize for resurrecting this old post, but did anyone find a solution for this?  I tried the following but mpd doesn't like it

audio_output {
  type    "bluetooth"
  name    "260plantronic bluetooth"
  device     "00:03:89:C4:4C:29"
}

Offline

Board footer

Powered by FluxBB