Merge branch 'v0.20.x'

This commit is contained in:
Max Kellermann
2018-05-03 20:15:11 +02:00
5 changed files with 22 additions and 0 deletions

View File

@@ -706,6 +706,12 @@ AlsaOutput::Recover(int err) noexcept
case SND_PCM_STATE_DRAINING:
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;
}
return err;