aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-09-18 17:56:17 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:57:27 +0200
commitb33ce546a31f051947465a080c8ddbe337f0c98a (patch)
treec68ae3b05c03f4bb94bc1c40aea9a4e43c0f2024
parent6ad908ff865b41aa645749a31d8f459668f139a8 (diff)
Added radio stream to all the HALs
Added the 'radio_stream' to all the HALs. This makes the radio role work in HighLevelAPI. Change-Id: I8f34224ec3dbbb1312b65642d89e672716414ac9 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
-rw-r--r--4a-hal-cfg-community/hal-4a-2ch-generic-usb.json10
-rw-r--r--4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json10
-rw-r--r--4a-hal-cfg-community/hal-4a-ensoniq.json11
-rw-r--r--4a-hal-cfg-community/hal-4a-intel.json10
-rw-r--r--4a-hal-cfg-community/hal-4a-jabra.json10
-rw-r--r--4a-hal-cfg-community/hal-4a-raspberry-pi-3.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-minnow.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-qemu.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json10
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3.json11
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json30
13 files changed, 152 insertions, 0 deletions
diff --git a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json b/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
index 84f8a96..34820b8 100644
--- a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
+++ b/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
@@ -195,6 +195,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
index 0b5d954..fe48808 100644
--- a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
+++ b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
@@ -276,6 +276,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-community/hal-4a-ensoniq.json b/4a-hal-cfg-community/hal-4a-ensoniq.json
index f884247..4bc63ba 100644
--- a/4a-hal-cfg-community/hal-4a-ensoniq.json
+++ b/4a-hal-cfg-community/hal-4a-ensoniq.json
@@ -194,7 +194,18 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
+
]
}
}
diff --git a/4a-hal-cfg-community/hal-4a-intel.json b/4a-hal-cfg-community/hal-4a-intel.json
index bab8364..f070c8b 100644
--- a/4a-hal-cfg-community/hal-4a-intel.json
+++ b/4a-hal-cfg-community/hal-4a-intel.json
@@ -194,6 +194,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-community/hal-4a-jabra.json b/4a-hal-cfg-community/hal-4a-jabra.json
index 8a95020..64a245e 100644
--- a/4a-hal-cfg-community/hal-4a-jabra.json
+++ b/4a-hal-cfg-community/hal-4a-jabra.json
@@ -194,6 +194,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
index 36f777a..1739912 100644
--- a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
+++ b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
@@ -172,6 +172,16 @@
"rate": 48000,
"format": "S16_LE"
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json b/4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json
index 2da7a4e..0a17a4e 100644
--- a/4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json
+++ b/4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json
@@ -187,6 +187,16 @@
"format": "S16_LE",
"channels": 2
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-intel-minnow.json b/4a-hal-cfg-reference/hal-4a-intel-minnow.json
index 01645db..39276fc 100644
--- a/4a-hal-cfg-reference/hal-4a-intel-minnow.json
+++ b/4a-hal-cfg-reference/hal-4a-intel-minnow.json
@@ -165,6 +165,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json b/4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json
index 0b5fe6d..f9b2948 100644
--- a/4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json
+++ b/4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json
@@ -201,6 +201,16 @@
"format": "S16_LE",
"channels": 2
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-intel-qemu.json b/4a-hal-cfg-reference/hal-4a-intel-qemu.json
index afdba42..3008a7a 100644
--- a/4a-hal-cfg-reference/hal-4a-intel-qemu.json
+++ b/4a-hal-cfg-reference/hal-4a-intel-qemu.json
@@ -187,6 +187,16 @@
"params": {
"rate": 48000
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json b/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json
index 3212861..ebf7138 100644
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json
+++ b/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json
@@ -212,6 +212,16 @@
"format": "S16_LE",
"channels": 2
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3.json b/4a-hal-cfg-reference/hal-4a-rcar-m3.json
index 1ac757b..d961111 100644
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3.json
+++ b/4a-hal-cfg-reference/hal-4a-rcar-m3.json
@@ -198,6 +198,17 @@
"rate": 48000,
"format": "S16_LE"
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000,
+ "format": "S16_LE"
+ }
}
]
}
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json b/4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json
index 24bd892..8336158 100644
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json
+++ b/4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json
@@ -136,6 +136,25 @@
}
]
}
+ },
+ {
+ "uid": "radio",
+ "path": "/dev/snd/by-path/platform-sound@2",
+ "params": {
+ "channels": 2
+ },
+ "source": {
+ "channels": [
+ {
+ "uid": "radio-right",
+ "port": 0
+ },
+ {
+ "uid": "radio-left",
+ "port": 1
+ }
+ ]
+ }
}
],
"zones": [
@@ -212,6 +231,17 @@
"format": "S16_LE",
"channels": 2
}
+ },
+ {
+ "uid": "radio_stream",
+ "verb": "radio_stream",
+ "zone": "full-stereo",
+ "source" : "radio",
+ "volume": 70,
+ "mute": true,
+ "params": {
+ "rate" : 48000
+ }
}
]
}