[Pkg-bluetooth-maintainers] Bug#570468: infos
François Wendling
frwendling at free.fr
Thu Jan 9 17:06:06 UTC 2014
Hi,
Found this bug report while googling ;)
Using BT + ALSA without pulse is a PITA out of the box :(
Here is a workaround using ~/.asoundrc (works with whizzy) :
############################# BOF ####################################
pcm.btheadset {
type plug
slave {
pcm {
type bluetooth
device "AA:BB:CC:DD:EE:FF"
profile "auto"
}
}
hint {
show on
description "BT Headset"
}
}
ctl.btheadset {
type bluetooth
}
pcm.btheadset_softvol
{
type softvol
slave.pcm "btheadset"
control.name "Bluetooth"
control.card 0
}
# Using bluetooth as default :
#pcm.!default {
# type plug
# slave.pcm "btheadset_softvol"
#}
###################################### EOF ##########################
This will add a pseudo master bluetooth volume control to your sound card,
-not- another audio card (Change MAC address indeed). Amixer and Alsamixer will
then have a "Bluetooth" audio control. It does what the OP wants but...
Sadly this is not linked with PCM/Master from Audio Card. So you'll need to use
softvol for all alsa clients or make a choice for multimedia buttons (bt vs
headphone/speaker).
For mplayer you _must_ use the -softvol switch to force softvolume :
$ mplayer -softvol -ao alsa:device=btheadset_softvol thissuperstuff.ogg
You may set it up in ~/.mplayer/config, add this line :
### BOF ###
softvol=1
### EOF ###
To maintainers, this is a workaround. Instead a fake soundcard should be
created (if it's possible ;) ).
Cheers,
--
François Wendling (frwendling at free d0t fr)
GPG key: 048A18FE (pgp.mit.edu)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2385 bytes
Desc: Cl? PGP 0x048A18FE.
URL: <http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20140109/f430cd43/attachment.key>
More information about the Pkg-bluetooth-maintainers
mailing list