[pulseaudio-commits] r1748 - /branches/lennart/src/pulsecore/play-memchunk.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Sep 2 13:38:58 PDT 2007
Author: lennart
Date: Sun Sep 2 22:38:57 2007
New Revision: 1748
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1748&root=3Dpulseaudio&vi=
ew=3Drev
Log:
make use of pa_memchunk_will_need() before handing sample cache audio to th=
e RT threads
Modified:
branches/lennart/src/pulsecore/play-memchunk.c
Modified: branches/lennart/src/pulsecore/play-memchunk.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
play-memchunk.c?rev=3D1748&root=3Dpulseaudio&r1=3D1747&r2=3D1748&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/play-memchunk.c (original)
+++ branches/lennart/src/pulsecore/play-memchunk.c Sun Sep 2 22:38:57 2007
@@ -155,6 +155,8 @@
if (volume && pa_cvolume_is_muted(volume))
return 0;
=
+ pa_memchunk_will_need(chunk);
+
u =3D pa_msgobject_new(memchunk_stream);
u->parent.parent.free =3D memchunk_stream_free;
u->parent.process_msg =3D memchunk_stream_process_msg;
More information about the pulseaudio-commits
mailing list