make use of pa_memchunk_will_need() before handing sample cache audio to the RT threads

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1748 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-02 20:38:57 +00:00
parent 7dbabc47bb
commit 3e188b192c

View file

@ -155,6 +155,8 @@ int pa_play_memchunk(
if (volume && pa_cvolume_is_muted(volume))
return 0;
pa_memchunk_will_need(chunk);
u = pa_msgobject_new(memchunk_stream);
u->parent.parent.free = memchunk_stream_free;
u->parent.process_msg = memchunk_stream_process_msg;