[pulseaudio-commits] r2401 - /branches/coling/raop_play/pulsified/raop_play.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun May 11 06:49:24 PDT 2008
Author: coling
Date: Sun May 11 15:49:23 2008
New Revision: 2401
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2401&root=pulseaudio&view=rev
Log:
Test app updates for memchunk ownership
Modified:
branches/coling/raop_play/pulsified/raop_play.c
Modified: branches/coling/raop_play/pulsified/raop_play.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/coling/raop_play/pulsified/raop_play.c?rev=2401&root=pulseaudio&r1=2400&r2=2401&view=diff
==============================================================================
--- branches/coling/raop_play/pulsified/raop_play.c (original)
+++ branches/coling/raop_play/pulsified/raop_play.c Sun May 11 15:49:23 2008
@@ -121,18 +121,10 @@
raopld->encoded.index += l;
raopld->encoded.length -= l;
//if (raopld->encoded.length > 0) printf("Couldn't write all our data... we'll get it next time.\n");
- if (raopld->encoded.length <= 0) {
- pa_memblock_unref(raopld->encoded.memblock);
- pa_memchunk_reset(&raopld->encoded);
- }
}
}
if (raopld->encoded.length <= 0) {
- if (raopld->encoded.memblock)
- pa_memblock_unref(raopld->encoded.memblock);
- pa_memchunk_reset(&raopld->encoded);
-
/* We're hungry - feed me */
if (raopld->raw.length <= 0) {
if (raopld->raw.memblock)
More information about the pulseaudio-commits
mailing list