In case of short reads just make sure that playback is started
immediately. No need to drain just yet as that just causes issues with
delayed removals of streams.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
pa_stream_write(stream, buf, bread, free, 0, PA_SEEK_RELATIVE);
if (bread < len)
{
+ pa_operation_unref(pa_stream_trigger(stream, NULL, NULL));
//in->ended = EINA_TRUE;
- pa_operation_unref(pa_stream_drain(stream, NULL, NULL));
+ //pa_operation_unref(pa_stream_drain(stream, NULL, NULL));
}
}