From 84eafcd12faba8c12d9932f52e0590c4fc0962d7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 22 Feb 2023 18:03:07 +0100 Subject: [PATCH] pulse-server: fix return value --- src/modules/module-protocol-pulse/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-protocol-pulse/format.c b/src/modules/module-protocol-pulse/format.c index c488db28f..08481b1a8 100644 --- a/src/modules/module-protocol-pulse/format.c +++ b/src/modules/module-protocol-pulse/format.c @@ -134,7 +134,7 @@ uint32_t format_name2id(const char *name) if (spa_streq(name, spa_debug_type_short_name(spa_type_audio_format[i].name))) return spa_type_audio_format[i].type; } - return SPA_AUDIO_CHANNEL_UNKNOWN; + return SPA_AUDIO_FORMAT_UNKNOWN; } uint32_t format_paname2id(const char *name, size_t size)