[pulseaudio-commits] r2306 - /branches/glitch-free/src/tests/asyncq-test.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Apr 23 11:17:17 PDT 2008
Author: lennart
Date: Wed Apr 23 20:17:17 2008
New Revision: 2306
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2306&root=pulseaudio&view=rev
Log:
pa_bool_t'ization
Modified:
branches/glitch-free/src/tests/asyncq-test.c
Modified: branches/glitch-free/src/tests/asyncq-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/tests/asyncq-test.c?rev=2306&root=pulseaudio&r1=2305&r2=2306&view=diff
==============================================================================
--- branches/glitch-free/src/tests/asyncq-test.c (original)
+++ branches/glitch-free/src/tests/asyncq-test.c Wed Apr 23 20:17:17 2008
@@ -44,7 +44,7 @@
pa_asyncq_push(q, PA_UINT_TO_PTR(i+1), 1);
}
- pa_asyncq_push(q, PA_UINT_TO_PTR(-1), 1);
+ pa_asyncq_push(q, PA_UINT_TO_PTR(-1), TRUE);
printf("pushed end\n");
}
@@ -56,7 +56,7 @@
sleep(1);
for (i = 0;; i++) {
- p = pa_asyncq_pop(q, 1);
+ p = pa_asyncq_pop(q, TRUE);
if (p == PA_UINT_TO_PTR(-1))
break;
More information about the pulseaudio-commits
mailing list