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
f20b9278
Commit
f20b9278
authored
May 30, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.21.x'
parents
e4dad42c
1008d5f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
meson.build
meson.build
+0
-3
ProxyDatabasePlugin.cxx
src/db/plugins/ProxyDatabasePlugin.cxx
+7
-3
OpenALOutputPlugin.cxx
src/output/plugins/OpenALOutputPlugin.cxx
+3
-0
StorageState.cxx
src/storage/StorageState.cxx
+8
-1
No files found.
meson.build
View file @
f20b9278
...
...
@@ -43,9 +43,6 @@ common_cxxflags = [
]
test_common_flags = [
'-Wall',
'-Wextra',
'-Wvla',
'-fvisibility=hidden',
...
...
src/db/plugins/ProxyDatabasePlugin.cxx
View file @
f20b9278
...
...
@@ -494,9 +494,13 @@ ProxyDatabase::Connect()
try
{
CheckError
(
connection
);
if
(
mpd_connection_cmp_server_version
(
connection
,
0
,
19
,
0
)
<
0
)
throw
FormatRuntimeError
(
"Connect to MPD %s, but this plugin requires at least version 0.19"
,
mpd_connection_get_server_version
(
connection
));
if
(
mpd_connection_cmp_server_version
(
connection
,
0
,
19
,
0
)
<
0
)
{
const
unsigned
*
version
=
mpd_connection_get_server_version
(
connection
);
throw
FormatRuntimeError
(
"Connect to MPD %u.%u.%u, but this "
"plugin requires at least version 0.19"
,
version
[
0
],
version
[
1
],
version
[
2
]);
}
if
(
!
password
.
empty
()
&&
!
mpd_run_password
(
connection
,
password
.
c_str
()))
...
...
src/output/plugins/OpenALOutputPlugin.cxx
View file @
f20b9278
...
...
@@ -29,6 +29,9 @@
#else
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
/* on macOS, OpenAL is deprecated, but since the user asked to enable
this plugin, let's ignore the compiler warnings */
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
class
OpenALOutput
final
:
AudioOutput
{
...
...
src/storage/StorageState.cxx
View file @
f20b9278
...
...
@@ -33,9 +33,16 @@
#include "Instance.hxx"
#include "Log.hxx"
#include <set>
#ifdef __clang__
/* ignore -Wcomma due to strange code in boost/array.hpp (in Boost
1.72) */
#pragma GCC diagnostic ignored "-Wcomma"
#endif
#include <boost/crc.hpp>
#include <set>
#define MOUNT_STATE_BEGIN "mount_begin"
#define MOUNT_STATE_END "mount_end"
#define MOUNT_STATE_STORAGE_URI "uri: "
...
...
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