Commit a7ba1042 authored by Max Kellermann's avatar Max Kellermann

Merge branch 'v0.22.x'

parents 8f1e7385 6dfebf7d
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment