diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-09-18 17:56:17 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:57:27 +0200 |
commit | b33ce546a31f051947465a080c8ddbe337f0c98a (patch) | |
tree | c68ae3b05c03f4bb94bc1c40aea9a4e43c0f2024 /4a-hal-cfg-reference | |
parent | 6ad908ff865b41aa645749a31d8f459668f139a8 (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>
Diffstat (limited to '4a-hal-cfg-reference')
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-intel-minnow-bt.json | 10 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-intel-minnow.json | 10 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-intel-qemu-bt.json | 10 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-intel-qemu.json | 10 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json | 10 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json | 30 |
7 files changed, 91 insertions, 0 deletions
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 + } } ] } |