diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-09-17 16:35:58 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:57:27 +0200 |
commit | 6ad908ff865b41aa645749a31d8f459668f139a8 (patch) | |
tree | 9936b18b328ded9425d2588616220bd0d87f8b6f /4a-hal-cfg-reference/hal-4a-rcar-m3kf.json | |
parent | 8326170cafb0e3493c7df6acb799e0ecb70ef803 (diff) |
kingfisher: merged the radio HAL into the main HAL
There was no point to have 2 separate HALs, the radio
stream and capture is now merged into the main HAL
Change-Id: I0ba974fdcfc17fc9a3964677361dd7509c7e74b3
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to '4a-hal-cfg-reference/hal-4a-rcar-m3kf.json')
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3kf.json | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json b/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json index 5f9820a..e8200ce 100644 --- a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json +++ b/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json @@ -110,7 +110,8 @@ ] } }, - "captures": { + "captures": [ + { "uid": "RCAR-M3", "path": "/dev/snd/by-path/platform-sound@1", "params": { @@ -136,7 +137,27 @@ } ] } - }, + } , + { + "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": [ { "uid": "full-stereo", @@ -198,6 +219,19 @@ "rate": 48000, "format": "S16_LE" } + }, + { + "uid": "radio_stream", + "verb": "radio_stream", + "zone": "full-stereo", + "source" : "radio", + "volume": 80, + "mute": true, + "params": { + "rate" : 48000, + "format": "S16_LE", + "channels": 2 + } } ] } |