alsa-state: Add bluetooth audio default headset and speaker devices
This commit adds virtual PCM devices which are used for HSP/HFP and A2DP profiles. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
6173fd3f34
commit
3da25843d8
|
|
@ -0,0 +1,43 @@
|
||||||
|
pcm.btheadset {
|
||||||
|
type plug
|
||||||
|
slave {
|
||||||
|
pcm {
|
||||||
|
type bluetooth
|
||||||
|
device 80:57:19:B2:A1:04
|
||||||
|
profile "auto"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
hint {
|
||||||
|
show on
|
||||||
|
description "BT Headset"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ctl.btheadset {
|
||||||
|
type bluetooth
|
||||||
|
}
|
||||||
|
|
||||||
|
pcm.btspeaker {
|
||||||
|
type plug
|
||||||
|
slave {
|
||||||
|
pcm {
|
||||||
|
type bluetooth
|
||||||
|
device A0:E9:DB:10:33:58
|
||||||
|
profile "auto"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
hint {
|
||||||
|
show on
|
||||||
|
description "BT Speaker"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ctl.btspeaker {
|
||||||
|
type bluetooth
|
||||||
|
}
|
||||||
|
|
||||||
|
pcm.btspeaker_softvol
|
||||||
|
{
|
||||||
|
type softvol
|
||||||
|
slave.pcm "btspeaker"
|
||||||
|
control.name "Bluetooth"
|
||||||
|
control.card 0
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue