[pulseaudio-commits] r2353 - in /branches/glitch-free/src/pulsecore: sink.c source.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri May 2 18:31:40 PDT 2008


Author: lennart
Date: Sat May  3 03:31:39 2008
New Revision: 2353

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2353&root=pulseaudio&view=rev
Log:
make sure to call sink->update_requested_latency() always when we change latency, same for source

Modified:
    branches/glitch-free/src/pulsecore/sink.c
    branches/glitch-free/src/pulsecore/source.c

Modified: branches/glitch-free/src/pulsecore/sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/sink.c?rev=2353&root=pulseaudio&r1=2352&r2=2353&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/sink.c (original)
+++ branches/glitch-free/src/pulsecore/sink.c Sat May  3 03:31:39 2008
@@ -1296,9 +1296,6 @@
     pa_sink_assert_ref(s);
     pa_assert(PA_SINK_IS_LINKED(s->thread_info.state));
 
-    if (!s->thread_info.requested_latency_valid)
-        return;
-
     s->thread_info.requested_latency_valid = FALSE;
 
     if (s->update_requested_latency)

Modified: branches/glitch-free/src/pulsecore/source.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/source.c?rev=2353&root=pulseaudio&r1=2352&r2=2353&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/source.c (original)
+++ branches/glitch-free/src/pulsecore/source.c Sat May  3 03:31:39 2008
@@ -783,9 +783,6 @@
     pa_source_assert_ref(s);
     pa_assert(PA_SOURCE_IS_LINKED(s->thread_info.state));
 
-    if (!s->thread_info.requested_latency_valid)
-        return;
-
     s->thread_info.requested_latency_valid = FALSE;
 
     if (s->update_requested_latency)




More information about the pulseaudio-commits mailing list