[pulseaudio-commits] r2543 - /trunk/src/pulse/stream.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Jun 17 11:24:37 PDT 2008
Author: lennart
Date: Tue Jun 17 20:24:36 2008
New Revision: 2543
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2543&root=pulseaudio&view=rev
Log:
minor modernizations
Modified:
trunk/src/pulse/stream.c
Modified: trunk/src/pulse/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/stream.c?rev=2543&root=pulseaudio&r1=2542&r2=2543&view=diff
==============================================================================
--- trunk/src/pulse/stream.c (original)
+++ trunk/src/pulse/stream.c Tue Jun 17 20:24:36 2008
@@ -477,6 +477,8 @@
if (s->suspended || s->corked)
pa_smoother_pause(s->smoother, x);
+ else
+ pa_smoother_resume(s->smoother, x);
}
request_auto_timing_update(s, TRUE);
@@ -627,7 +629,7 @@
s->write_index_not_before = s->context->ctag;
if (s->timing_info_valid)
- s->timing_info.write_index_corrupt = 1;
+ s->timing_info.write_index_corrupt = TRUE;
/* pa_log("write_index invalidated"); */
}
@@ -636,7 +638,7 @@
s->read_index_not_before = s->context->ctag;
if (s->timing_info_valid)
- s->timing_info.read_index_corrupt = 1;
+ s->timing_info.read_index_corrupt = TRUE;
/* pa_log("read_index invalidated"); */
}
More information about the pulseaudio-commits
mailing list