[spice-gtk v1] channel-main: demote log level from warning to debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Victor Toso <me@xxxxxxxxxxxxxx>

Failing to get playback or record volume async on startup is very
common making this warning too worrisome for users.

If the audio back-end does not cache the last volume used or if this
is the first time the application is launched, this message will be
seen.

Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
---
 src/channel-main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/channel-main.c b/src/channel-main.c
index 72ca712..e632c8e 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -1171,7 +1171,7 @@ static void audio_playback_volume_info_cb(GObject *object, GAsyncResult *res, gp
                                                       &volume, &error);
     if (ret == FALSE || volume == NULL || nchannels == 0) {
         if (error != NULL) {
-            g_warning("Failed to get playback async volume info: %s", error->message);
+            spice_debug("Failed to get playback async volume info: %s", error->message);
             g_error_free(error);
         } else {
             SPICE_DEBUG("Failed to get playback async volume info");
@@ -1227,7 +1227,7 @@ static void audio_record_volume_info_cb(GObject *object, GAsyncResult *res, gpoi
     ret = spice_audio_get_record_volume_info_finish(audio, res, &mute, &nchannels, &volume, &error);
     if (ret == FALSE || volume == NULL || nchannels == 0) {
         if (error != NULL) {
-            g_warning("Failed to get record async volume info: %s", error->message);
+            spice_debug("Failed to get record async volume info: %s", error->message);
             g_error_free(error);
         } else {
             SPICE_DEBUG("Failed to get record async volume info");
-- 
2.9.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]