<div dir="ltr">On Tue, Jun 27, 2017 at 8:35 PM, dingoegret <<a href="mailto:sephvelut@gmail.com">sephvelut@gmail.com</a>> wrote:<br>><br>> It writes to test.wav - places bytes in there - but there is no actual audio<br>> data. Just a blank file filled with bytes<br><br>ah,<br><br>    gst_buffer_map(buffer, &map, GST_MAP_WRITE);<br>    file_stream.rdbuf()->sgetn(&chunk[0], chunk.size());<br>    map.data = (guint8 *) chunk.data();<br>    gst_buffer_unmap(buffer, &map);<br><br>This does not work.  memcpy() it, or use gst_buffer_fill().<br>-- <br>               yashi<div><br></div></div>