summaryrefslogtreecommitdiffstats
path: root/devices
diff options
context:
space:
mode:
Diffstat (limited to 'devices')
-rw-r--r--devices/hal-4a-greenbox.json38
1 files changed, 18 insertions, 20 deletions
diff --git a/devices/hal-4a-greenbox.json b/devices/hal-4a-greenbox.json
index c0a632f..3a84446 100644
--- a/devices/hal-4a-greenbox.json
+++ b/devices/hal-4a-greenbox.json
@@ -11,13 +11,20 @@
},
"resources": [
{
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
+ "uid": "hal-bluealsa",
+ "info": "Bluealsa hal plugin",
"params": {
- "channels": 2,
- "zone": "front-seats"
+ "sco": {
+ "mic": "MOST_MIC_EP822CH",
+ "zone": "full-stereo",
+ "delayms": 800
+ },
+ "a2dp": {
+ "zone": "full-stereo",
+ "delayms": 500
+ }
},
- "libs": ["hal-bt.ctlso"]
+ "libs": ["hal-bluealsa.ctlso"]
},
{
"uid": "hal-unicens",
@@ -123,22 +130,14 @@
]
}
},
- "captures": [
+ "captures": [
{
- "uid": "RCAR-M3",
- "path": "/dev/snd/by-path/platform-sound@1",
+ "uid": "MOST_MIC_EP822CH",
+ "cardid": "hw:ep822ch",
"params": {
"rate": 48000
},
"source": {
- "controls": {
- "volume": {
- "name": "DVC In Capture Volume"
- },
- "mute": {
- "name": "DVC In Mute Switch"
- }
- },
"channels": [
{
"uid": "mic-right",
@@ -153,9 +152,9 @@
} ,
{
"uid": "radio",
- "path": "/dev/snd/by-path/platform-sound@2",
+ "cardid": "hw:radio",
"params": {
- "channels": 2
+ "rate": 48000
},
"source": {
"channels": [
@@ -284,8 +283,7 @@
"mute": true,
"params": {
"rate" : 48000,
- "format": "S16_LE",
- "channels": 2
+ "format": "S16_LE"
}
}
]