<div dir="ltr">Arun replied there.<div><br></div><div><pre class="" id="comment_text_5" style="font-size:medium;white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><span class="" style="color:rgb(101,55,156);white-space:pre">> In a simple word, the writable size will increase to large value after some
> time if no data feed to pulse. Pulse will consume all audio data as soon as
> send to pulsesink and then audio pipeline will always no data.</span>

Yes, libpulse will continue to ask for more data (until at some point a h/w
underrun occurs). However, if you write out the data when it becomes available,
this should not be a problem.

<span class="" style="color:rgb(101,55,156);white-space:pre">> Our use case is one AVI clip has large audio PCM sample (one sample has one
> second PCM data). If pulse client buffered all audio data, pulsesink change
> state from PLAYING to PAUSE will fail as no audio data send from demux as demux
> blocked by video pipeline as pulse client buffered too many audio data.

> Can we change the behave of pulse client or pulse sink? Or need feed data at
> any time when PLAYING state?</span>

I'm really sorry but I'm having trouble understanding the problem you are
seeing. The audio and video outputs of the demuxer should ideally have a queue
after them so that each of those get their own thread. In that case, one side
having large buffers and the other having small buffers should not matter.</pre><pre class="" id="comment_text_5" style="font-size:medium;white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><br></pre><pre class="" id="comment_text_5" style="font-size:medium;white-space:pre-wrap;width:50em;color:rgb(0,0,0)">Thanks Arun!</pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 January 2015 at 10:03, Bing Song <span dir="ltr"><<a href="mailto:Kevin.Song@freescale.com" target="_blank">Kevin.Song@freescale.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I report one bug: <a href="https://bugzilla.gnome.org/show_bug.cgi?id=742141" target="_blank">
https://bugzilla.gnome.org/show_bug.cgi?id=742141</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But it isn’t a bug, just want ask question.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Is it reasonable below writeable size will increase bigger than total buffer<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">size if no data feed to pulse?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">        pbuf->m_writable = pa_stream_writable_size (pbuf->stream);<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Do I need fix writable size increase issue or I need feed data at anytime (send GAP event when no audio data)? Our implement will sent EOS to audio pipeline when backward playback and no audio data feed to pulse.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Song Bing.<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>