[pulseaudio-commits] r2536 - /trunk/src/modules/module-null-sink.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Jun 16 11:58:55 PDT 2008
Author: lennart
Date: Mon Jun 16 20:58:54 2008
New Revision: 2536
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2536&root=pulseaudio&view=rev
Log:
use new pa_sink_set_latency_range() in null sink
Modified:
trunk/src/modules/module-null-sink.c
Modified: trunk/src/modules/module-null-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-null-sink.c?rev=2536&root=pulseaudio&r1=2535&r2=2536&view=diff
==============================================================================
--- trunk/src/modules/module-null-sink.c (original)
+++ trunk/src/modules/module-null-sink.c Mon Jun 16 20:58:54 2008
@@ -286,7 +286,8 @@
pa_sink_set_asyncmsgq(u->sink, u->thread_mq.inq);
pa_sink_set_rtpoll(u->sink, u->rtpoll);
- u->block_usec = u->sink->max_latency = MAX_LATENCY_USEC;
+ pa_sink_set_latency_range(u->sink, (pa_usec_t) -1, MAX_LATENCY_USEC);
+ u->block_usec = u->sink->max_latency;
u->sink->thread_info.max_rewind = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec);
More information about the pulseaudio-commits
mailing list