From b118982674effa44aa1687e8bd0d2bc0eb6254b2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 19 Sep 2004 23:12:41 +0000 Subject: remove obnoxious assert from module-combine tagstruct: add support for NULL strings improve pactl correct pa_bytes_snprint() pa_sample_spec_snprint(): don't fail on invalid sample spec rename PA_SAMPLE_SNPRINT_MAX_LENGTH to PA_SAMPLE_SPEC_SNPRINT_MAX git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@222 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/module-combine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polyp/module-combine.c') diff --git a/polyp/module-combine.c b/polyp/module-combine.c index f6d596bc..1bb183ec 100644 --- a/polyp/module-combine.c +++ b/polyp/module-combine.c @@ -106,7 +106,7 @@ static void adjust_rates(struct userdata *u) { min_total_latency = o->total_latency; } - assert(max_sink_latency > 0 && min_total_latency != (pa_usec_t) -1); + assert(min_total_latency != (pa_usec_t) -1); target_latency = max_sink_latency > min_total_latency ? max_sink_latency : min_total_latency; -- cgit