[pulseaudio-commits] src/pulsecore

Tanu Kaskinen tanuk at kemper.freedesktop.org
Tue Feb 19 09:34:41 PST 2013


 src/pulsecore/card.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit a40d83a47271c6c9b67b39819621689a71094935
Author: Mikel Astiz <mikel.astiz at bmw-carit.de>
Date:   Tue Feb 19 18:26:03 2013 +0100

    card: Set initial profile availability state
    
    Commit afd33da56a0b174c43ca44bce21b8ef0efaca1fa introduces this new
    flag but the default initial value is missing, considering that
    pa_xmalloc is used to allocate the memory.

diff --git a/src/pulsecore/card.c b/src/pulsecore/card.c
index 5ea8a63..6149d2b 100644
--- a/src/pulsecore/card.c
+++ b/src/pulsecore/card.c
@@ -51,6 +51,7 @@ pa_card_profile *pa_card_profile_new(const char *name, const char *description,
     c->priority = 0;
     c->n_sinks = c->n_sources = 0;
     c->max_sink_channels = c->max_source_channels = 0;
+    c->available = PA_AVAILABLE_UNKNOWN;
 
     return c;
 }



More information about the pulseaudio-commits mailing list