aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mixer/alsa_mixer_plugin.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mixer/alsa_mixer_plugin.c b/src/mixer/alsa_mixer_plugin.c
index 22e4e22bd..cecf44db9 100644
--- a/src/mixer/alsa_mixer_plugin.c
+++ b/src/mixer/alsa_mixer_plugin.c
@@ -178,7 +178,12 @@ alsa_mixer_source_dispatch(GSource *_source,
{
struct alsa_mixer_source *source = (struct alsa_mixer_source *)_source;
- snd_mixer_handle_events(source->mixer);
+ int err = snd_mixer_handle_events(source->mixer);
+ if (err < 0) {
+ g_warning("snd_mixer_handle_events() failed: %s",
+ snd_strerror(err));
+ }
+
return true;
}