summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/agl-service-radio/files
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2017-12-20 19:39:54 -0500
committerScott Murray <scott.murray@konsulko.com>2017-12-20 19:55:39 -0500
commit0d29ff059d328feb85bfdb362dee1f45b66dd854 (patch)
tree3e00f3fda722408463fe22e1f71200389783ec18 /recipes-demo-hmi/agl-service-radio/files
parent6a216fe38fee5342043d7b784075c67469ed42c5 (diff)
agl-service-radio: Set appropriate sink if 4A is configured
If 4A is enabled in DISTRO_FEATURES, add an extension conf file to add setting PULSE_SINK to the systemd service unit. This will direct the radio output into the matching PulseAudio sink for the 4A Radio role. Change-Id: Ic67f3bcf1bd64636813e426f4471e666d2c33938 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'recipes-demo-hmi/agl-service-radio/files')
-rw-r--r--recipes-demo-hmi/agl-service-radio/files/set-4a-output-sink.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-demo-hmi/agl-service-radio/files/set-4a-output-sink.conf b/recipes-demo-hmi/agl-service-radio/files/set-4a-output-sink.conf
new file mode 100644
index 000000000..c574ca17e
--- /dev/null
+++ b/recipes-demo-hmi/agl-service-radio/files/set-4a-output-sink.conf
@@ -0,0 +1,2 @@
+[Service]
+Environment=PULSE_SINK=alsa_output.Radio