Merge branch 'v0.22.x'
This commit is contained in:
commit
a7ba10423d
2
NEWS
2
NEWS
|
@ -13,9 +13,11 @@ ver 0.22.7 (not yet released)
|
||||||
- don't use glibc extension to parse time stamps
|
- don't use glibc extension to parse time stamps
|
||||||
* decoder
|
* decoder
|
||||||
- ffmpeg: fix build problem with FFmpeg 3.4
|
- ffmpeg: fix build problem with FFmpeg 3.4
|
||||||
|
- gme: support RSN files
|
||||||
* storage
|
* storage
|
||||||
- curl: don't use glibc extension
|
- curl: don't use glibc extension
|
||||||
* output
|
* output
|
||||||
|
- httpd: send header "Access-Control-Allow-Origin: *"
|
||||||
- wasapi: add algorithm for finding usable audio format
|
- wasapi: add algorithm for finding usable audio format
|
||||||
- wasapi: use default device only if none was configured
|
- wasapi: use default device only if none was configured
|
||||||
- wasapi: add DoP support
|
- wasapi: add DoP support
|
||||||
|
|
|
@ -344,7 +344,7 @@ gme_container_scan(Path path_fs)
|
||||||
|
|
||||||
static const char *const gme_suffixes[] = {
|
static const char *const gme_suffixes[] = {
|
||||||
"ay", "gbs", "gym", "hes", "kss", "nsf",
|
"ay", "gbs", "gym", "hes", "kss", "nsf",
|
||||||
"nsfe", "sap", "spc", "vgm", "vgz",
|
"nsfe", "rsn", "sap", "spc", "vgm", "vgz",
|
||||||
nullptr
|
nullptr
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -162,6 +162,7 @@ HttpdClient::SendResponse() noexcept
|
||||||
"Connection: close\r\n"
|
"Connection: close\r\n"
|
||||||
"Pragma: no-cache\r\n"
|
"Pragma: no-cache\r\n"
|
||||||
"Cache-Control: no-cache, no-store\r\n"
|
"Cache-Control: no-cache, no-store\r\n"
|
||||||
|
"Access-Control-Allow-Origin: *\r\n"
|
||||||
"\r\n",
|
"\r\n",
|
||||||
httpd.content_type);
|
httpd.content_type);
|
||||||
response = buffer;
|
response = buffer;
|
||||||
|
|
|
@ -45,6 +45,7 @@ icy_server_metadata_header(const char *name,
|
||||||
"Connection: close\r\n"
|
"Connection: close\r\n"
|
||||||
"Pragma: no-cache\r\n"
|
"Pragma: no-cache\r\n"
|
||||||
"Cache-Control: no-cache, no-store\r\n"
|
"Cache-Control: no-cache, no-store\r\n"
|
||||||
|
"Access-Control-Allow-Origin: *\r\n"
|
||||||
"\r\n",
|
"\r\n",
|
||||||
name,
|
name,
|
||||||
genre,
|
genre,
|
||||||
|
|
|
@ -724,7 +724,7 @@ WasapiOutput::Play(const void *chunk, size_t size)
|
||||||
return size;
|
return size;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
const size_t consumed_size = thread->Push({chunk, size});
|
const size_t consumed_size = thread->Push({input.data, input.size});
|
||||||
|
|
||||||
if (consumed_size == 0) {
|
if (consumed_size == 0) {
|
||||||
thread->Wait();
|
thread->Wait();
|
||||||
|
|
Loading…
Reference in New Issue