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
ca4c81dd
Commit
ca4c81dd
authored
Aug 02, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/mikmod: require at least version 3.2
parent
e9881bbf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
NEWS
NEWS
+1
-0
configure.ac
configure.ac
+1
-1
MikmodDecoderPlugin.cxx
src/decoder/plugins/MikmodDecoderPlugin.cxx
+0
-11
No files found.
NEWS
View file @
ca4c81dd
...
...
@@ -23,6 +23,7 @@ ver 0.21 (not yet released)
- gme: try loading m3u sidecar files
- hybrid_dsd: new decoder plugin
- mad: move "gapless_mp3_playback" setting to "decoder" block
- mikmod: require at least version 3.2
- pcm: support audio/L24 (RFC 3190)
* resampler
- soxr: flush resampler at end of song
...
...
configure.ac
View file @
ca4c81dd
...
...
@@ -944,7 +944,7 @@ MPD_ENABLE_AUTO_PKG(mpg123, MPG123, [libmpg123],
[libmpg123 decoder plugin], [libmpg123 not found])
dnl -------------------------------- libmikmod --------------------------------
MPD_ENABLE_AUTO_PKG(mikmod, LIBMIKMOD, [libmikmod],
MPD_ENABLE_AUTO_PKG(mikmod, LIBMIKMOD, [libmikmod
>= 3.2
],
[MikMod decoder plugin], [libmikmod not found])
dnl -------------------------------- libmodplug -------------------------------
...
...
src/decoder/plugins/MikmodDecoderPlugin.cxx
View file @
ca4c81dd
...
...
@@ -61,10 +61,7 @@ mikmod_mpd_is_present(void)
static
char
drv_name
[]
=
PACKAGE_NAME
;
static
char
drv_version
[]
=
VERSION
;
#if (LIBMIKMOD_VERSION > 0x030106)
static
char
drv_alias
[]
=
PACKAGE
;
#endif
static
MDRIVER
drv_mpd
=
{
nullptr
,
...
...
@@ -72,13 +69,9 @@ static MDRIVER drv_mpd = {
drv_version
,
0
,
255
,
#if (LIBMIKMOD_VERSION > 0x030106)
drv_alias
,
#if (LIBMIKMOD_VERSION >= 0x030200)
nullptr
,
/* CmdLineHelp */
#endif
nullptr
,
/* CommandLine */
#endif
mikmod_mpd_is_present
,
VC_SampleLoad
,
VC_SampleUnload
,
...
...
@@ -204,11 +197,7 @@ mikmod_decoder_scan_file(Path path_fs, TagHandler &handler) noexcept
char
*
title
=
Player_LoadTitle
(
path2
);
if
(
title
!=
nullptr
)
{
handler
.
OnTag
(
TAG_TITLE
,
title
);
#if (LIBMIKMOD_VERSION >= 0x030200)
MikMod_free
(
title
);
#else
free
(
title
);
#endif
}
return
true
;
...
...
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