Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a7ba1042
Commit
a7ba1042
authored
Mar 13, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.22.x'
parents
8f1e7385
6dfebf7d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
NEWS
NEWS
+2
-0
GmeDecoderPlugin.cxx
src/decoder/plugins/GmeDecoderPlugin.cxx
+1
-1
HttpdClient.cxx
src/output/plugins/httpd/HttpdClient.cxx
+1
-0
IcyMetaDataServer.cxx
src/output/plugins/httpd/IcyMetaDataServer.cxx
+1
-0
WasapiOutputPlugin.cxx
src/output/plugins/wasapi/WasapiOutputPlugin.cxx
+1
-1
No files found.
NEWS
View file @
a7ba1042
...
...
@@ -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
...
...
src/decoder/plugins/GmeDecoderPlugin.cxx
View file @
a7ba1042
...
...
@@ -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
};
...
...
src/output/plugins/httpd/HttpdClient.cxx
View file @
a7ba1042
...
...
@@ -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
;
...
...
src/output/plugins/httpd/IcyMetaDataServer.cxx
View file @
a7ba1042
...
...
@@ -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
,
...
...
src/output/plugins/wasapi/WasapiOutputPlugin.cxx
View file @
a7ba1042
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment