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
|
||||
* decoder
|
||||
- ffmpeg: fix build problem with FFmpeg 3.4
|
||||
- gme: support RSN files
|
||||
* storage
|
||||
- curl: don't use glibc extension
|
||||
* output
|
||||
- httpd: send header "Access-Control-Allow-Origin: *"
|
||||
- wasapi: add algorithm for finding usable audio format
|
||||
- wasapi: use default device only if none was configured
|
||||
- wasapi: add DoP support
|
||||
|
|
|
@ -344,7 +344,7 @@ gme_container_scan(Path path_fs)
|
|||
|
||||
static const char *const gme_suffixes[] = {
|
||||
"ay", "gbs", "gym", "hes", "kss", "nsf",
|
||||
"nsfe", "sap", "spc", "vgm", "vgz",
|
||||
"nsfe", "rsn", "sap", "spc", "vgm", "vgz",
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ HttpdClient::SendResponse() noexcept
|
|||
"Connection: close\r\n"
|
||||
"Pragma: no-cache\r\n"
|
||||
"Cache-Control: no-cache, no-store\r\n"
|
||||
"Access-Control-Allow-Origin: *\r\n"
|
||||
"\r\n",
|
||||
httpd.content_type);
|
||||
response = buffer;
|
||||
|
|
|
@ -45,6 +45,7 @@ icy_server_metadata_header(const char *name,
|
|||
"Connection: close\r\n"
|
||||
"Pragma: no-cache\r\n"
|
||||
"Cache-Control: no-cache, no-store\r\n"
|
||||
"Access-Control-Allow-Origin: *\r\n"
|
||||
"\r\n",
|
||||
name,
|
||||
genre,
|
||||
|
|
|
@ -724,7 +724,7 @@ WasapiOutput::Play(const void *chunk, size_t size)
|
|||
return size;
|
||||
|
||||
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) {
|
||||
thread->Wait();
|
||||
|
|
Loading…
Reference in New Issue