aboutsummaryrefslogtreecommitdiffstats
path: root/toolame.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-11 15:07:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-11 15:07:22 +0100
commitd58099780dcd5c5260e9e5609f1ee0b1da247546 (patch)
tree11967a387a8a6ad10cf7db84f16a18199d57ca39 /toolame.c
parent32432006c708ca8049a43c35345b3529f1938bdd (diff)
downloadtoolame-dab-d58099780dcd5c5260e9e5609f1ee0b1da247546.tar.gz
toolame-dab-d58099780dcd5c5260e9e5609f1ee0b1da247546.tar.bz2
toolame-dab-d58099780dcd5c5260e9e5609f1ee0b1da247546.zip
add zmq code
Diffstat (limited to 'toolame.c')
-rw-r--r--toolame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolame.c b/toolame.c
index b1c7f20..b8fb776 100644
--- a/toolame.c
+++ b/toolame.c
@@ -905,6 +905,8 @@ void parse_args (int argc, char **argv, frame_info * frame, int *psy,
if ((header->bitrate_index = BitrateIndex (brate, header->version)) < 0)
err = 1;
+ bs.zmq_framesize = 3 * brate;
+
/* All options are hunky dory, open the input audio file and
return to the main drag */
open_bit_stream_w (&bs, outPath, BUFFER_SIZE);