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
1d04490e
Commit
1d04490e
authored
Apr 26, 2022
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/shout: use shout_set_content_format()
parent
4a30c2d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ShoutOutputPlugin.cxx
src/output/plugins/ShoutOutputPlugin.cxx
+6
-0
No files found.
src/output/plugins/ShoutOutputPlugin.cxx
View file @
1d04490e
...
...
@@ -252,7 +252,13 @@ ShoutConfig::Setup(shout_t &connection) const
shout_set_mount
(
&
connection
,
mount
)
!=
SHOUTERR_SUCCESS
||
shout_set_user
(
&
connection
,
user
)
!=
SHOUTERR_SUCCESS
||
shout_set_public
(
&
connection
,
is_public
)
!=
SHOUTERR_SUCCESS
||
#ifdef SHOUT_USAGE_AUDIO
/* since libshout 2.4.3 */
shout_set_content_format
(
&
connection
,
format
,
SHOUT_USAGE_AUDIO
,
nullptr
)
!=
SHOUTERR_SUCCESS
||
#else
shout_set_format
(
&
connection
,
format
)
!=
SHOUTERR_SUCCESS
||
#endif
shout_set_protocol
(
&
connection
,
protocol
)
!=
SHOUTERR_SUCCESS
||
#ifdef SHOUT_TLS
shout_set_tls
(
&
connection
,
tls
)
!=
SHOUTERR_SUCCESS
||
...
...
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