aboutsummaryrefslogtreecommitdiffstats
path: root/encode-alsasrc-sox-mpeg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'encode-alsasrc-sox-mpeg.sh')
-rwxr-xr-xencode-alsasrc-sox-mpeg.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/encode-alsasrc-sox-mpeg.sh b/encode-alsasrc-sox-mpeg.sh
index 3942ac1..3de71b5 100755
--- a/encode-alsasrc-sox-mpeg.sh
+++ b/encode-alsasrc-sox-mpeg.sh
@@ -3,6 +3,9 @@
# Read audio from ALSA input using sox, and encode with toolame,
# send to ZMQ
#
+# This needs toolame-dab from
+# https://github.com/Opendigitalradio/toolame-dab
+#
BITRATE=$1
DST=$2
ALSASRC="default"
@@ -15,6 +18,5 @@ then
fi
sox -t alsa $ALSASRC -b 16 -t raw - rate 48k channels 2 | \
- ../toolame/toolame \
- -s 48 -D 4 -b $BITRATE /dev/stdin $DST
+ toolame -s 48 -D 4 -b $BITRATE /dev/stdin $DST