Hi everyone,
<div><br></div><div>I&#39;m running into some trouble with buffer attributes in gstreamer pulsesink and pulseaudio.</div><div>It seems that if prebuf is non-zero, then I can get much better cpu usage from pulseaudio and gstreamer.  One problem I am seeing is on EOS when the file being played is finished.</div>
<div>I always seem to get a buffer underrun callback from pulseaudio at the end of the stream.  The problem is that when prebuf is non-zero, when the underrun occurs, timer updates from pulseaudio no longer update the time.</div>
<div>This is probably due to underruns causing a wait until prebuf amount is filled.</div><div><br></div><div>So my question is, pa_stream_trigger() should start the stream playback immediately without waiting for prebuf to be filled, but I am not seeing any timer updates occurring after i call trigger.</div>
<div>I also call drain when the EOS event occurs, but this doesn&#39;t seem to update timer either.</div><div><br></div><div>Also, why is it that I always get a underrun message when the file is done playing?  Happens with gstreamer, aplay, paplay.</div>
<div><br></div><div>Thanks</div><div>Baek</div>