Merge branch 'v0.22.x'
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user