Commit a8568d72 authored by Max Kellermann's avatar Max Kellermann

Merge branch 'v0.20.x'

parents 43a43c1e 6522d2f7
...@@ -31,6 +31,12 @@ ver 0.21 (not yet released) ...@@ -31,6 +31,12 @@ ver 0.21 (not yet released)
- opus: support for sending metadata using ogg stream chaining - opus: support for sending metadata using ogg stream chaining
* require GCC 5.0 * require GCC 5.0
ver 0.20.20 (not yet released)
* protocol
- fix "modified-since" filter regression
* decoder
- dsdiff, dsf: support more MIME types
ver 0.20.19 (2018/04/26) ver 0.20.19 (2018/04/26)
* protocol * protocol
- validate absolute seek time, reject negative values - validate absolute seek time, reject negative values
......
...@@ -485,6 +485,8 @@ static const char *const dsdiff_suffixes[] = { ...@@ -485,6 +485,8 @@ static const char *const dsdiff_suffixes[] = {
static const char *const dsdiff_mime_types[] = { static const char *const dsdiff_mime_types[] = {
"application/x-dff", "application/x-dff",
"audio/x-dff",
"audio/x-dsd",
nullptr nullptr
}; };
......
...@@ -358,6 +358,8 @@ static const char *const dsf_suffixes[] = { ...@@ -358,6 +358,8 @@ static const char *const dsf_suffixes[] = {
static const char *const dsf_mime_types[] = { static const char *const dsf_mime_types[] = {
"application/x-dsf", "application/x-dsf",
"audio/x-dsf",
"audio/x-dsd",
nullptr nullptr
}; };
......
...@@ -260,6 +260,12 @@ AlsaInputStream::Recover(int err) ...@@ -260,6 +260,12 @@ AlsaInputStream::Recover(int err)
/* this is no error, so just keep running */ /* this is no error, so just keep running */
err = 0; err = 0;
break; break;
default:
/* this default case is just here to work around
-Wswitch due to SND_PCM_STATE_PRIVATE1 (libasound
1.1.6) */
break;
} }
......
...@@ -706,6 +706,12 @@ AlsaOutput::Recover(int err) noexcept ...@@ -706,6 +706,12 @@ AlsaOutput::Recover(int err) noexcept
case SND_PCM_STATE_DRAINING: case SND_PCM_STATE_DRAINING:
err = 0; err = 0;
break; 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; return err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment