mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-26 01:40:25 -05:00
source: Bring some debug logging in sync with what we do for sinks
This commit is contained in:
parent
d666f44fa4
commit
8fff528000
1 changed files with 4 additions and 2 deletions
|
|
@ -1215,9 +1215,11 @@ void pa_source_reconfigure(pa_source *s, pa_sample_spec *spec, pa_channel_map *m
|
||||||
uint32_t idx;
|
uint32_t idx;
|
||||||
pa_source_output *o;
|
pa_source_output *o;
|
||||||
char spec_str[PA_SAMPLE_SPEC_SNPRINT_MAX];
|
char spec_str[PA_SAMPLE_SPEC_SNPRINT_MAX];
|
||||||
|
char map_str[PA_CHANNEL_MAP_SNPRINT_MAX];
|
||||||
|
|
||||||
pa_log_info("Changed source format successfully to: %s",
|
pa_log_info("Reconfigured successfully to: %s, %s",
|
||||||
pa_sample_spec_snprint(spec_str, sizeof(spec_str), &desired_spec));
|
pa_sample_spec_snprint(spec_str, sizeof(spec_str), &s->sample_spec),
|
||||||
|
pa_channel_map_snprint(map_str, sizeof(map_str), &s->channel_map));
|
||||||
|
|
||||||
PA_IDXSET_FOREACH(o, s->outputs, idx) {
|
PA_IDXSET_FOREACH(o, s->outputs, idx) {
|
||||||
if (o->state == PA_SOURCE_OUTPUT_CORKED)
|
if (o->state == PA_SOURCE_OUTPUT_CORKED)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue