aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/visualize-mixed-audio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/gstreamer/visualize-mixed-audio.sh')
-rwxr-xr-xexample-scripts/gstreamer/visualize-mixed-audio.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/visualize-mixed-audio.sh b/example-scripts/gstreamer/visualize-mixed-audio.sh
index ce9bc0a..84c2e0a 100755
--- a/example-scripts/gstreamer/visualize-mixed-audio.sh
+++ b/example-scripts/gstreamer/visualize-mixed-audio.sh
@@ -1,6 +1,13 @@
#!/bin/sh
+
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
gst-launch-1.0 \
- tcpclientsrc host=localhost port=13000 !\
+ tcpclientsrc host=$MIXHOST port=13000 !\
matroskademux !\
audioconvert !\
wavescope shader=none style=lines !\