From 91ac3acf3d4d626c1c1ca82d2bc62fab5fd0cedc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 30 Jun 2023 12:32:37 +0200 Subject: [PATCH] pulse-server: debug the fixed format/rate/channel --- src/modules/module-protocol-pulse/pulse-server.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index 861238018..42c923078 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -1736,8 +1736,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui n_valid_formats++; } else { pw_log_warn("%p: unsupported format:%s rate:%d channels:%u", - impl, format_id2name(ss.format), ss.rate, - ss.channels); + impl, format_id2name(sfix.format), sfix.rate, + sfix.channels); } } @@ -2001,8 +2001,8 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint n_valid_formats++; } else { pw_log_warn("%p: unsupported format:%s rate:%d channels:%u", - impl, format_id2name(ss.format), ss.rate, - ss.channels); + impl, format_id2name(sfix.format), sfix.rate, + sfix.channels); } } if (m->offset != m->length)