You are not logged in.

#1 2016-12-28 22:19:59

Asbestbrezel
Member
Registered: 2014-07-27
Posts: 67

bluez-alsa as the default device

Hi,

i was able to get my new bluetooth-speaker working without pulseaudio (i dont want it!), following that useful instruction:
https://wiki.archlinux.org/index.php/Bl … bluez-alsa

Its working fine so far, but only with "aplay -D bluealsa" and only as root. I  would like to get that working as the normal user and systemwide, so that any output can be heard on the bluetooth-speaker. I tried several things, but i have no clue, what to write into the asound.conf.

That does not work:

pcm.!default {
    interface "hci0"
    device "88:C6:26:C2:76:35"
    profile "a2dp"
}

ctl.!default {
    interface "hci0"
    device "88:C6:26:C2:76:35"
    profile "a2dp"
}

Offline

#2 2016-12-28 23:54:10

Asbestbrezel
Member
Registered: 2014-07-27
Posts: 67

Re: bluez-alsa as the default device

it's almost working now, with this config:

pcm.btspeaker {
 type plug
  slave {
    pcm {
      type bluealsa
      interface hci0
      device 88:C6:26:C2:76:35
      profile "a2dp"
    }
  }
  hint {
    show on
    description "BT Headset"
  }
}

pcm.!default {
    type plug
    slave.pcm "btspeaker"
}
ctl.!default {
	type hw
	card 0
}

VLC has a problem, the sound is very bad. The console-output tells me, why:

bluealsa-pcm.c:243: Starting IO loop
bluealsa-pcm.c:340: Stopping
bluealsa-pcm.c:425: Prepared
bluealsa-pcm.c:319: Starting
bluealsa-pcm.c:243: Starting IO loop
bluealsa-pcm.c:340: Stopping
bluealsa-pcm.c:425: Prepared
bluealsa-pcm.c:340: Stopping
bluealsa-pcm.c:340: Stopping

The plugin seems to be constantly started and stopped by vlc.


The other thing is, that i don't know, how to control the volume with alsamixer.

Offline

Board footer

Powered by FluxBB