From 00536ea2320ae540bac79cb4b62ca3be060cd070 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 5 Jun 2024 22:09:56 +0900 Subject: [PATCH] wasapi2: Adjust log level in device enumeration path Audio device at requested index might not be available, but that's expected case when enumerating devices. Part-of: --- subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2client.cpp b/subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2client.cpp index 41c4329e6b..dc957cc9f2 100644 --- a/subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2client.cpp +++ b/subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2client.cpp @@ -888,14 +888,14 @@ gst_wasapi2_client_activate_async (GstWasapi2Client * self, return; if (count == 0) { - GST_WARNING_OBJECT (self, "No available device"); + GST_INFO_OBJECT (self, "No available device"); return; } /* device_index 0 will be assigned for default device * so the number of available device is count + 1 (for default device) */ if (self->device_index >= 0 && self->device_index > (gint) count) { - GST_WARNING_OBJECT (self, "Device index %d is unavailable", + GST_INFO_OBJECT (self, "Device index %d is unavailable", self->device_index); return; }