summaryrefslogtreecommitdiff
path: root/src/input/plugins/AlsaInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/plugins/AlsaInputPlugin.cxx')
-rw-r--r--src/input/plugins/AlsaInputPlugin.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/plugins/AlsaInputPlugin.cxx b/src/input/plugins/AlsaInputPlugin.cxx
index 71e910d86..ee8fdf55a 100644
--- a/src/input/plugins/AlsaInputPlugin.cxx
+++ b/src/input/plugins/AlsaInputPlugin.cxx
@@ -260,6 +260,12 @@ AlsaInputStream::Recover(int err)
/* this is no error, so just keep running */
err = 0;
break;
+
+ default:
+ /* this default case is just here to work around
+ -Wswitch due to SND_PCM_STATE_PRIVATE1 (libasound
+ 1.1.6) */
+ break;
}