From 3da25843d80fbc66954a2596abdd71cae9a99658 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Fri, 19 Jun 2015 12:09:25 +0200 Subject: [PATCH] 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 --- .../alsa-state/3.10/ccimx6/asound.conf | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 meta-digi-arm/recipes-bsp/alsa-state/alsa-state/3.10/ccimx6/asound.conf diff --git a/meta-digi-arm/recipes-bsp/alsa-state/alsa-state/3.10/ccimx6/asound.conf b/meta-digi-arm/recipes-bsp/alsa-state/alsa-state/3.10/ccimx6/asound.conf new file mode 100644 index 000000000..b39177ba8 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/alsa-state/alsa-state/3.10/ccimx6/asound.conf @@ -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 +}