Merge branch 'v0.20.x'
This commit is contained in:
commit
a8568d7246
6
NEWS
6
NEWS
|
@ -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
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue