Commit a7c27e1a authored by Olivier Crête's avatar Olivier Crête

alawdec: Each output sample is 2 bytes

parent 87f20883
......@@ -327,7 +327,7 @@ gst_alaw_dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
alaw_data = inmap.data;
alaw_size = inmap.size;
outbuf = gst_buffer_new_allocate (NULL, alaw_size, 0);
outbuf = gst_buffer_new_allocate (NULL, alaw_size * 2, 0);
gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE);
linear_data = (gint16 *) outmap.data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment