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/hal-4a-rcar-m3kf-bt.json | |
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/hal-4a-rcar-m3kf-bt.json')
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3kf-bt.json | 30 |
1 files changed, 30 insertions, 0 deletions
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 + } } ] } |