aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-13 22:19:59 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-13 22:19:59 +0100
commit4c82b20018e542aeef4d0fa454bb7064d719e228 (patch)
tree1ccc818c928811ddfa1a7c038d4fd5df2a1411d1
parent4c80bed16f5fcb04643ff3e7859b431c815787d6 (diff)
downloadmmbtools-aux-4c82b20018e542aeef4d0fa454bb7064d719e228.tar.gz
mmbtools-aux-4c82b20018e542aeef4d0fa454bb7064d719e228.tar.bz2
mmbtools-aux-4c82b20018e542aeef4d0fa454bb7064d719e228.zip
replace old sox based alsa encoder script
-rwxr-xr-xencode-alsa32.sh (renamed from encode-alsasrc-sox32.sh)5
1 files changed, 1 insertions, 4 deletions
diff --git a/encode-alsasrc-sox32.sh b/encode-alsa32.sh
index 66f9c1f..a5ebe84 100755
--- a/encode-alsasrc-sox32.sh
+++ b/encode-alsa32.sh
@@ -13,7 +13,4 @@ then
exit 1
fi
-sox -t alsa $ALSASRC -b 16 -t raw - rate 32k channels 2 | \
- ../fdk-aac-dabplus/aac-enc-dabplus-zmq -r 32000 \
- -i /dev/stdin -b $BITRATE -f raw -a -o $DST
-
+../fdk-aad-dabplus/dabplus-enc-alsa-zmq -d $ALSASRC -c 2 -r 32000 -b $BITRATE -o $DST -p 48