mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
add some more debug
This commit is contained in:
parent
62ef0145c3
commit
df3394a694
2 changed files with 26 additions and 2 deletions
|
|
@ -585,8 +585,11 @@ static pa_stream* stream_new(pa_context *c, const char *name,
|
|||
s->n_formats = 0;
|
||||
if (formats) {
|
||||
s->n_formats = n_formats;
|
||||
for (i = 0; i < n_formats; i++)
|
||||
for (i = 0; i < n_formats; i++) {
|
||||
s->req_formats[i] = pa_format_info_copy(formats[i]);
|
||||
pw_log_debug("format %d: %s", i,
|
||||
pa_format_info_snprint(str, sizeof(str), formats[i]));
|
||||
}
|
||||
}
|
||||
s->format = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue