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
db47ab16
Commit
db47ab16
authored
Jun 24, 2007
by
J. Alexander Treuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding WavPack support. Patch courtesy Kodest.
git-svn-id:
https://svn.musicpd.org/mpd/trunk@6651
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
df32eed2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
446 additions
and
2 deletions
+446
-2
AUTHORS
AUTHORS
+3
-0
ChangeLog
ChangeLog
+1
-0
configure.ac
configure.ac
+16
-1
Makefile.am
src/Makefile.am
+2
-1
inputPlugin.c
src/inputPlugin.c
+1
-0
inputPlugin.h
src/inputPlugin.h
+1
-0
wavpack_plugin.c
src/inputPlugins/wavpack_plugin.c
+422
-0
No files found.
AUTHORS
View file @
db47ab16
...
...
@@ -24,6 +24,9 @@ Qball Cow <qballcow@gmail.com>
Patrik Weiskircher <pat@icore.at>
Stored playlist commands
Kodest <kodest at gmail dot com>
WavPack support
Former Developers
-----------------
tw-nym
...
...
ChangeLog
View file @
db47ab16
...
...
@@ -9,6 +9,7 @@ ver 0.14.0 (????/??/??)
* Make the shout output block while trying to connect instead of failing
* New timeout parameter for shout outputs to define a connection timeout
* New FIFO audio output
* Support for WavPack files
ver 0.13.0 (2007/5/28)
* New JACK audio output
...
...
configure.ac
View file @
db47ab16
...
...
@@ -79,6 +79,7 @@ AC_ARG_ENABLE(aac,[ --disable-aac disable AAC support (default: enabl
AC_ARG_ENABLE(audiofile,[ --disable-audiofile disable audiofile support, disables wave support (default: enable)],[enable_audiofile=$enableval],[enable_audiofile=yes])
AC_ARG_ENABLE(mod,[ --enable-mod enable MOD support (default: disable],[enable_mod=$enableval],[enable_mod=yes])
AC_ARG_ENABLE(mpc,[ --disable-mpc disable musepack (MPC) support (default: enable)],[enable_mpc=$enableval],[enable_mpc=yes])
AC_ARG_ENABLE(wavpack,[ --disable-wavpack disable wavpack support (default: enable)],[enable_wavpack=$enableval],[enable_wavpack=yes])
AC_ARG_ENABLE(id3,[ --disable-id3 disable id3 support (default: enable)],[enable_id3=$enableval],[enable_id3=yes])
AC_ARG_ENABLE(lsr,[ --disable-lsr disable libsamplerate support (default: enable)],[enable_lsr=$enableval],[enable_lsr=yes])
...
...
@@ -182,7 +183,8 @@ if test x$enable_oss = xyes; then
fi
if test x$enable_pulse = xyes || test x$enable_jack = xyes ||
test x$enable_lsr = xyes || test x$with_zeroconf != xno; then
test x$enable_lsr = xyes || test x$with_zeroconf != xno ||
test x$enable_wavpack = xyes; then
PKG_PROG_PKG_CONFIG
fi
...
...
@@ -368,6 +370,12 @@ if test x$enable_mpc = xyes; then
CPPFLAGS=$oldcppflags
fi
if test x$enable_wavpack = xyes; then
PKG_CHECK_MODULES([WAVPACK], [wavpack],
[enable_wavpack=yes;AC_DEFINE([HAVE_WAVPACK], 1, [Define to enable WavPack support])] MPD_LIBS="$MPD_LIBS $WAVPACK_LIBS" MPD_CFLAGS="$MPD_CFLAGS $WAVPACK_CFLAGS",
[enable_wavpack=no;AC_MSG_WARN([WavPack not found -- disabling])])
fi
MP4FF_SUBDIR=""
if test x$enable_aac = xyes; then
...
...
@@ -764,6 +772,12 @@ else
echo " Musepack (MPC) support ........disabled"
fi
if test x$enable_wavpack = xyes; then
echo " WavPack support ...............enabled"
else
echo " WavPack support ...............disabled"
fi
if test x$enable_mod = xyes; then
echo " MOD support ...................enabled"
else
...
...
@@ -778,6 +792,7 @@ if
test x$enable_audiofile = xno &&
test x$enable_aac = xno &&
test x$enable_mpc = xno &&
test x$enable_wavpack = xno &&
test x$enable_mod = xno; then
AC_MSG_ERROR([No input plugins supported!])
fi
...
...
src/Makefile.am
View file @
db47ab16
...
...
@@ -24,7 +24,8 @@ mpd_inputPlugins = \
inputPlugins/mod_plugin.c
\
inputPlugins/mp3_plugin.c
\
inputPlugins/mp4_plugin.c
\
inputPlugins/mpc_plugin.c
inputPlugins/mpc_plugin.c
\
inputPlugins/wavpack_plugin.c
mpd_headers
=
\
...
...
src/inputPlugin.c
View file @
db47ab16
...
...
@@ -150,6 +150,7 @@ void initInputPlugins(void)
loadInputPlugin
(
&
mp4Plugin
);
loadInputPlugin
(
&
aacPlugin
);
loadInputPlugin
(
&
mpcPlugin
);
loadInputPlugin
(
&
wavpackPlugin
);
loadInputPlugin
(
&
modPlugin
);
}
...
...
src/inputPlugin.h
View file @
db47ab16
...
...
@@ -104,6 +104,7 @@ extern InputPlugin audiofilePlugin;
extern
InputPlugin
mp4Plugin
;
extern
InputPlugin
aacPlugin
;
extern
InputPlugin
mpcPlugin
;
extern
InputPlugin
wavpackPlugin
;
extern
InputPlugin
modPlugin
;
#endif
src/inputPlugins/wavpack_plugin.c
0 → 100644
View file @
db47ab16
This diff is collapsed.
Click to expand it.
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