From a15ca404ac293aab52d35f9fdbf992ac6ed55500 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 24 Jul 2019 17:47:03 -0400 Subject: Switch to pipewire output Update the talk scripts to use pipewire output via gst-launch-1.0 instead of 4A's 4a-play. gstreamer is used to allow using the pipewire output sink and set its media role property. Updated version of previous patch for ALSA support that was applied in the meta-agl-demo recipe. Bug-AGL: SPEC-2667 Signed-off-by: Scott Murray Change-Id: I7a38f6e2c464ce13de541e8ad5aa3c109f718845 --- package/flite | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/flite') diff --git a/package/flite b/package/flite index 4c17b80..c6787ed 100755 --- a/package/flite +++ b/package/flite @@ -1,5 +1,4 @@ #!/bin/sh TMP=/tmp/navi.wav echo "$1" | flite_hts_engine -m /usr/share/Voice/us/cmu_us_arctic_slt.htsvoice -o $TMP -4a-play $TMP hw:0,0,3 navigation - +gst-launch-1.0 filesrc location=$TMP ! decodebin ! audioconvert ! audioresample ! pwaudiosink stream-properties="p,media.role=Navigation" -- cgit 1.2.3-korg