Merge branch 'v0.20.x'

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

6
NEWS
View File

@ -31,6 +31,12 @@ ver 0.21 (not yet released)
- opus: support for sending metadata using ogg stream chaining
* 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)
* protocol
- validate absolute seek time, reject negative values

View File

@ -485,6 +485,8 @@ static const char *const dsdiff_suffixes[] = {
static const char *const dsdiff_mime_types[] = {
"application/x-dff",
"audio/x-dff",
"audio/x-dsd",
nullptr
};

View File

@ -358,6 +358,8 @@ static const char *const dsf_suffixes[] = {
static const char *const dsf_mime_types[] = {
"application/x-dsf",
"audio/x-dsf",
"audio/x-dsd",
nullptr
};

View File

@ -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;
}

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;