<div dir="ltr">Hi All,<div><br></div><div><br></div><div>After checking the pipe when I use pipe 2 to verification.</div><div>2. gst-launch-0.10 -v <a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a</a> ! qtdemux ! ffdec_aac ! audioconvert ! audio/x-raw-int,width=16 ! alsasink<br>
</div><div><br></div><div>in the c code :gst-plugins-base-0.10.36/gst-libs/gst/audio/gstaudiosink.c, </div><div>function audioringbuffer_thread_func(), </div><div>the thread will read audio data from ring buffer, then write to audio sink.</div>
<div>I write the data that read from ring buffer to local usb disk.</div><div>And check the file, it contents silence data after 1 second.</div><div><br></div><div>Does anyone have idea :</div><div>why audioringbuffer_thread_func() call function gst_ring_buffer_prepare_read() , then get silence audio data?</div>
<div><br></div><div><br></div><div><br></div><div>Any input is very appreciate!!!!</div><div><br></div><div><br></div><div>Best Regards,</div><div>Soho</div><div><br></div><div><br></div><div><br><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/12/4 Diaz Soho <span dir="ltr"><<a href="mailto:soho123.2012@gmail.com" target="_blank">soho123.2012@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi all,<div><br></div><div>the pipe I used for verification:</div><div>1. gst-launch-0.10 -v <a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a</a> ! qtdemux ! ffdec_aac ! audioconvert ! audio/x-raw-int,width=16 ! filesink location=/var/tmp/usb/sda1/aac_test.pcm</div>
<div><br></div><div>2. gst-launch-0.10 -v <a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0$1$8I2829.m4a</a> ! qtdemux ! ffdec_aac ! audioconvert ! audio/x-raw-int,width=16 ! alsasink</div>
<div><br></div><div><br></div><div><br></div><div>In the pipe 1 , the output file /var/tmp/usb/sda1/aac_test.pcm can be played normally.</div><div>In the pipe 2, the output from usb sound card can not be hear normally after about 1 seconds.</div>
<div><br></div><div>Does anyone have any idea about the issue?</div></div>
</blockquote></div><br></div></div></div>