[polypaudio-commits] r807 - /trunk/src/polypcore/cli-text.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Apr 26 09:27:36 PDT 2006


Author: lennart
Date: Wed Apr 26 18:27:33 2006
New Revision: 807

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=807&root=polypaudio&view=rev
Log:
if a sample is not yet loaded, don't print rubbish about its channel map

Modified:
    trunk/src/polypcore/cli-text.c

Modified: trunk/src/polypcore/cli-text.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/cli-text.c?rev=807&root=polypaudio&r1=806&r2=807&view=diff
==============================================================================
--- trunk/src/polypcore/cli-text.c (original)
+++ trunk/src/polypcore/cli-text.c Wed Apr 26 18:27:33 2006
@@ -280,7 +280,7 @@
 
         for (e = pa_idxset_first(c->scache, &idx); e; e = pa_idxset_next(c->scache, &idx)) {
             double l = 0;
-            char ss[PA_SAMPLE_SPEC_SNPRINT_MAX] = "n/a", cv[PA_CVOLUME_SNPRINT_MAX], cm[PA_CHANNEL_MAP_SNPRINT_MAX];
+            char ss[PA_SAMPLE_SPEC_SNPRINT_MAX] = "n/a", cv[PA_CVOLUME_SNPRINT_MAX], cm[PA_CHANNEL_MAP_SNPRINT_MAX] = "n/a";
             
             if (e->memchunk.memblock) {
                 pa_sample_spec_snprint(ss, sizeof(ss), &e->sample_spec);




More information about the pulseaudio-commits mailing list