diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-01-30 04:28:05 +0100 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-01-30 04:28:05 +0100 | 
| commit | 6b803217ce473aeb24af208ed1b6e63b8ef42caa (patch) | |
| tree | 7387bf2f8a5bb009b3bd1b74cabbe593b202b567 /src/pulsecore/source.c | |
| parent | 3442d583aaf1b8f17026791f941b506a891b0464 (diff) | |
| parent | dbb8951a41b184da065b4966f4ae4d7afbf915e6 (diff) | |
Merge branch 'master' into lennartsbtfixes
Diffstat (limited to 'src/pulsecore/source.c')
| -rw-r--r-- | src/pulsecore/source.c | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index 0152b082..38f8e531 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -119,6 +119,7 @@ pa_source* pa_source_new(      pa_source *s;      const char *name;      char st[PA_SAMPLE_SPEC_SNPRINT_MAX], cm[PA_CHANNEL_MAP_SNPRINT_MAX]; +    char *pt;      pa_assert(core);      pa_assert(data); @@ -222,11 +223,14 @@ pa_source* pa_source_new(      if (s->card)          pa_assert_se(pa_idxset_put(s->card->sources, s, NULL) >= 0); -    pa_log_info("Created source %u \"%s\" with sample spec %s and channel map %s", +    pt = pa_proplist_to_string_sep(s->proplist, "\n    "); +    pa_log_info("Created source %u \"%s\" with sample spec %s and channel map %s\n    %s",                  s->index,                  s->name,                  pa_sample_spec_snprint(st, sizeof(st), &s->sample_spec), -                pa_channel_map_snprint(cm, sizeof(cm), &s->channel_map)); +                pa_channel_map_snprint(cm, sizeof(cm), &s->channel_map), +                pt); +    pa_xfree(pt);      return s;  }  | 
