Commit Graph

476 Commits

Author SHA1 Message Date
Avuton Olrich
abf974c5c5 configure.ac: Move libmad to Decoder Plugins, add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
97f80e04b0 configure.ac: Move FluidSynth to Decoder Plugins, add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
944057c30b configure.ac: Move FLAC to Decoder Plugins, add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
9c4d4bd6b0 configure.ac: Move FAAD to Decoder Plugins, add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
a77fd83b15 configure.ac: Move audiofile to Decoder Plugins, add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
ed78955f8d configure.ac: Move Solaris to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:15 -07:00
Avuton Olrich
cab16f8e1e configure.ac: Move MVP to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:14 -07:00
Avuton Olrich
24db28072f configure.ac: Add header for Pipe Output and Pulseaudio. 2010-04-21 07:10:14 -07:00
Avuton Olrich
e20d3d49b3 configure.ac: Move OSX to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:14 -07:00
Avuton Olrich
33641df09c configure.ac: Move OSS to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:14 -07:00
Avuton Olrich
294cce2710 configure.ac: Move OpenAL to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:14 -07:00
Avuton Olrich
9fb31aafb3 configure.ac: Move libao to Audio Output Plugins (nonstreaming), add header. 2010-04-21 07:10:14 -07:00
Avuton Olrich
791ddc566a configure.ac: Move JACK to Audio Output Plugins (nonstreaming), add subheader. 2010-04-21 07:10:14 -07:00
Avuton Olrich
7d2b2e371c configure.ac: Move FIFO to Audio Output Plugins (nonstreaming), add subheader. 2010-04-21 07:10:13 -07:00
Avuton Olrich
c3ecb5aa5e configure.ac: Move ALSA to Audio Output Plugins (nonstreaming), add subheader. 2010-04-21 07:10:13 -07:00
Avuton Olrich
191e520999 configure.ac: Move converter plugins up with other aux plugins. 2010-04-21 07:10:13 -07:00
Avuton Olrich
dd5fdbc540 configure.ac: Move archive plugins around (alphabetize), add subheaders. 2010-04-21 07:10:13 -07:00
Avuton Olrich
b39855731c configure.ac: Add subheaders to Input/Sticker/Autodiscovery/Metadata and Misc. 2010-04-21 07:10:13 -07:00
Avuton Olrich
e27dd7280f configure.ac: Move libid3tag to "Metadata Plugins" 2010-04-21 07:10:13 -07:00
Avuton Olrich
a9ff134e9f configure.ac: Move inotify to "Miscellaneous Libraries". 2010-04-21 07:10:13 -07:00
Avuton Olrich
11fbb1c807 configure.ac: Move all AC_ARG* functions to a single place in the configure.ac. 2010-04-21 07:10:12 -07:00
Avuton Olrich
15998c0db9 configure.ac: Add better headers to improve readability.
This changes no code, makes no moves; this merely adds some headers
to improve readability.
2010-04-21 07:08:16 -07:00
Max Kellermann
cf3ada3d04 Merge branch 'master' of git://github.com/mcfiredrill/mpd 2010-04-20 21:16:39 +02:00
Avuton Olrich
c2d788f6de configure.ac: Check for LAME libraries the same way others are checked for.
Check for LAME libraries the same way other libraries are checked for, in line
with the configure and outside the buggy macro. This will fix problems with
cross compilation.
2010-04-15 20:23:35 -07:00
Avuton Olrich
fa8992fc63 configure.ac: Don't allow UNIX IPC to be configured for a native Windows build. 2010-04-13 19:09:26 -07:00
Tony Miller
9d55b16998 Decoder for game music emulation library.
Supports a number of videogame music formats, more info here:
http://www.fly.net/~ant/libs/audio.html

I wrote this plugin for the latest svn, get it here:
http://code.google.com/p/game-music-emu/source/checkout
2010-04-10 01:05:16 -07:00
Max Kellermann
7a24e496d5 configure.ac: new libwrap autoconf test
Use MPD_AUTO_RESULT().  Don't force libwrap by default.
2010-01-20 21:42:43 +01:00
Davide Camurri
7a62818ffd client: optionally use libwrap 2010-01-20 21:04:07 +01:00
Max Kellermann
f95d7b13da configure.ac: disable -Wdeclaration-after-statement
Allow declaration after statement.
2010-01-02 23:46:42 +01:00
Max Kellermann
3adfbfe36d configure.ac: expose variables OPENAL_CFLAGS and OPENAL_LIBS
Don't add these to the global MPD_CFLAGS and MPD_LIBS.  This allows
test programs to link without libopenal.
2010-01-01 17:10:10 +01:00
Max Kellermann
a0384aaead Makefile.am: added unit tests for the archive plugins 2009-12-31 15:50:59 +01:00
Max Kellermann
bd97586cc4 archive/iso: renamed plugin to "iso9660"
Based on libiso9660.
2009-12-16 15:55:37 +01:00
Max Kellermann
c959148ed1 archive/zip: renamed plugin to "zzip"
This plugin is based on libzzip.
2009-12-15 20:29:44 +01:00
Viliam Mateicka
d37b4bb199 cmdline: print out list of encoders in --version info 2009-11-17 20:39:26 +01:00
Viliam Mateicka
5420f9ae76 encoder: introducing flac encoder plugin 2009-11-17 19:41:35 +01:00
Max Kellermann
5b82ffc291 include config.h in all sources
After we've been hit by Large File Support problems several times in
the past week (which only occur on 32 bit platforms, which I don't
have), this is yet another attempt to fix the issue.
2009-11-12 09:17:03 +01:00
Max Kellermann
7c0c8ca8d7 Merge branch 'master' of git://git.musicpd.org/metyl/mpd 2009-11-11 06:45:23 +01:00
Viliam Mateicka
79035d7ed9 wave_encoder: new encoder for streaming PCM wave files.
When using wave encoder with httpd audio output mpd can input this stream via http and audiofile decoder.
This for example opens simple way to configure lossless audio streaming port(like jack or pulseaudio does but without overhead).
Another possibility can be using it for gathering raw data for visualization plugins (If sync issue will be resolved)
2009-11-10 22:29:54 +00:00
Max Kellermann
70106464d3 configure.ac: enable_audiofile defaults to "auto"
Since we're using MPD_AUTO_PKG, we can auto-detect this option.  Also
fix the --enable-audiofile help string.
2009-11-10 21:27:55 +01:00
Max Kellermann
b722d3d7f3 configure.ac: require GLib 2.12
Drop the required GLib version from 2.16 to 2.12, because many current
systems still don't have GLib 2.16.  This requires several new
compatibility functions in glib_compat.h.
2009-11-10 21:14:22 +01:00
Max Kellermann
de57c21a3b Merge branch 'v0.15.x'
Conflicts:
	src/input/lastfm_input_plugin.c
	src/song_save.c
2009-11-10 21:13:03 +01:00
Max Kellermann
93a13b42dd zzip: require libzzip 0.13
We need the function zzip_file_stat().
2009-11-10 21:00:10 +01:00
Max Kellermann
96fcf5e1a5 input/mms: require libmms 0.4
We're using API functions which are not available in 0.3.
2009-11-10 20:57:10 +01:00
Max Kellermann
e3af0032b2 set the close-on-exec flag on all file descriptors
Added the "fd_util" library, which attempts to use the new thread-safe
Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
not thread safe.

This is particularly important for the "pipe" output plugin (and
others, such as JACK/PulseAudio), because we were heavily leaking file
descriptors to child processes.
2009-11-07 18:55:16 +01:00
Max Kellermann
2a9685cb3a output/jack: use jack_client_open() instead of jack_client_new()
jack_client_new() is deprecated.  This requires libjack 0.100
(released nearly 5 years ago).  We havn't been testing older libjack
versions anyway.

As a side effect, there is the new option "autostart".
2009-11-05 20:01:18 +01:00
Viliam Mateicka
7b343eaf50 add --disable-inotify for configure to disable inotify when autodetected 2009-10-24 18:24:29 +02:00
Max Kellermann
fd182f6d1e Makefile.am: enable the "subdir-objects" option
Don't clutter the top directory with *.o files.
2009-10-22 18:23:22 +02:00
Max Kellermann
b479a264b6 pulse: code rewrite using the asynchronous libpulse API
This is a complete rewrite of the PulseAudio output plugin.  It uses
the asynchronous API, which gives us more control over everything.
Additionally, it connects to the PulseAudio server on startup, and
keeps this connection up while MPD runs.  During pause, instead of
closing the stream, it enables "cork".
2009-10-21 10:30:42 +02:00
Avuton Olrich
b2b300b635 Modify version string to post-release version 0.15.6~git 2009-10-18 09:50:17 -07:00
Avuton Olrich
7df1a2c77d mpd version 0.15.5 2009-10-18 09:50:16 -07:00
Max Kellermann
4390d72b14 configure.ac: require GLib 2.16
Accidently, MPD has been using several GLib 2.16 functions for a
while, and nobody noticed yet.  To simplify the code base, let's bump
the minimum GLib version for MPD to 2.16.  That version is old enough,
and it's reasonable to expect users to have it.
2009-10-13 16:12:43 +02:00
Avuton Olrich
d4e3fb4330 configure: Fix up the recorder plugin configure. 2009-10-10 11:36:22 -07:00
Alam Arias
81e56705ad configure.ac: build with large file support by default
This fixes mpg123 support.
2009-10-08 15:24:59 +02:00
Avuton Olrich
d6d4de1123 Modify version string to post-release version 0.15.5~git 2009-10-03 05:44:26 -07:00
Avuton Olrich
325e380b8e mpd version 0.15.4 2009-10-03 05:44:26 -07:00
Max Kellermann
8f261af5c1 automatically update the database with Linux inotify
This patch implements a light-weight inotify library, and watches all
directories below the music directory.  It updates all directories
where files changed after a delay of 5 seconds.
2009-09-25 18:32:00 +02:00
Max Kellermann
47ab2ad6f3 configure.ac: rename HAVE_CURL to ENABLE_CURL 2009-09-24 21:40:07 +02:00
Patrik Weiskircher
32f212cb86 output/osx: fix the OS X 10.6 build
Include CoreServices/CoreServices.h.
2009-09-20 23:30:37 +02:00
Serge Ziryukin
761771ad24 output/openal: support OpenAL plugin on Mac OS X 2009-09-07 15:52:32 +02:00
Patrik Weiskircher
4ebf53ffdf configure.ac: use /Developer/SDKs/MacOSX10.5.sdk
First, this is not a nice fix. I am also not sure why the error
happens in the first place. I assume Apple deprecated some stuff in
10.6 + x86_64.

My patch simply uses the 10.5 SDK if compiling on 10.6 Snow Leopard -
which is installed by default if you install XCode 3.2 that comes with
Snow Leopard. The reason this is not a nice fix is, of course, that
this doesn't fix the problem. It just "postpones" it to the next
release of MacOS X. But, some people may need it, and its better than
nothing.
2009-09-06 17:42:50 +02:00
Serge Ziryukin
8b6a5d19d0 openal output plugin 2009-09-06 17:34:56 +02:00
Mike Dawson
cde9408bd8 decoder/sidplay: implemented songlength database
[mk: added autoconf test; fixed songlen_data_size type]
2009-08-30 19:49:04 +02:00
Avuton Olrich
e8569af35f Modify version string to post-release version 0.15.4~git 2009-08-29 22:59:24 -07:00
Avuton Olrich
7a690c6b70 mpd version 0.15.3 2009-08-29 22:59:24 -07:00
Max Kellermann
bff4c54ece decoder/mpg123: new decoder plugin based on libmpg123
Still missing:
- seeking
- tags
- streaming
- encodings other than MPG123_ENC_SIGNED_16
2009-08-26 20:08:13 +02:00
Max Kellermann
4a0d4a02a6 output/recorder: new output plugin for recording radio streams
The recorder plugin writes audio played by MPD to a file.  This may be
useful for recording radio streams.

This implementation is incomplete, because support for tags is
missing, and MPD should be able to record each track to a different
file.
2009-08-24 18:57:06 +02:00
Max Kellermann
f401c1059c Merged release 0.15.2 from branch 'v0.15.x'
Conflicts:

	NEWS
	configure.ac
2009-08-15 21:18:38 +02:00
Avuton Olrich
48a80d0b85 Modify version string to post-release version 0.15.3~git 2009-08-15 11:57:50 -07:00
Avuton Olrich
5715534b53 mpd version 0.15.2 2009-08-15 11:57:50 -07:00
Mike Frysinger
499ed62dd7 use daemon() when the C library provides it
For systems that cannot support fork() (like no-mmu Linux), use daemon() if
it is available for the daemonizing code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-08-13 17:25:30 +02:00
Max Kellermann
c8c91d9aaa configure.ac: fix the --enable-alsa help string
--enable means "enable", not "disable".
2009-07-17 17:50:55 +02:00
Max Kellermann
4100035b19 Merged release 0.15.1 from branch 'v0.15.x' 2009-07-16 07:37:13 +02:00
Avuton Olrich
19f1bfdf40 Modify version string to post-release version 0.15.2~git 2009-07-15 13:36:41 -07:00
Avuton Olrich
d7bad6ae02 mpd version 0.15.1 2009-07-15 13:36:41 -07:00
Max Kellermann
6233de0546 encoder/twolame: new encoder plugin based on libtwolame
This encoder plugin is a replacement for the LAME encoder plugin for
those who prefer a "free" (non-patent encumbered) encoder library.
Most of the plugin source code is copied from the LAME encoder plugin,
since the LAME and TwoLAME APIs are nearly the same.
2009-07-14 23:07:41 +02:00
Max Kellermann
b1afa40fc1 configure.ac: use more MPD_AUTO_PKG()
Fail when a feature is enabled, but the library is not found.
2009-07-14 21:38:49 +02:00
Max Kellermann
a620e936cc Makefile.am: use WAVPACK_CFLAGS and WAVPACK_LIBS
Don't append these to MPD_CFLAGS and MPD_LIBS.
2009-07-14 21:29:01 +02:00
Max Kellermann
0c1c753e23 configure.ac: fail when ffmpeg is enabled, but not found 2009-07-14 14:23:49 +02:00
Max Kellermann
1eebbc746f decoder/sndfile: new decoder plugin based on libsndfile 2009-07-07 08:58:51 +02:00
Max Kellermann
077b24d62d configure.ac: increased protocol version to 0.16.0
We're going to extend the protocol now.  Update the protocol version.
2009-07-05 08:40:26 +02:00
Max Kellermann
5b78b46a30 Makefile.am: require automake 1.10
Refuse to build with automake 1.9.  1.9 is quite old already, and I'm
too lazy to test with ancient versions.
2009-06-25 11:52:55 +02:00
Max Kellermann
d820a893cc configure.ac: fix the --disable-ffmpeg help text 2009-06-25 11:29:51 +02:00
Max Kellermann
f8f5d40532 NEWS: updated NEWS file for 0.15.1 2009-06-25 11:29:08 +02:00
Avuton Olrich
f16d05c633 Modify version string to post-release version 0.16~git 2009-06-24 17:34:27 -07:00
Avuton Olrich
8758e97794 mpd version 0.15 2009-06-23 18:43:57 -07:00
Victor A. Safronov
6e3bd4f620 Incorrect identifying of --with-tremor option in configure.ac
[mk: moved check out of the AC_ARG_WITH block]
2009-05-26 16:16:53 +02:00
Avuton Olrich
3ee3375273 Modify version string to post-release version 0.15~git 2009-05-08 03:44:46 -07:00
Avuton Olrich
0af8ea3ace mpd version 0.15~beta2 2009-05-08 03:44:46 -07:00
Avuton Olrich
be15a9e4ae Modify version string to post-release version 0.15~git 2009-04-30 08:07:24 -07:00
Avuton Olrich
0e8a8dadda mpd version 0.15~beta1 2009-04-30 08:07:24 -07:00
Avuton Olrich
86a9cd82e7 configure: Fix where mikmod was not explicitly disabled. 2009-04-29 03:13:30 -07:00
Max Kellermann
9db7c13ef5 configure.ac: check for C++ detection failure
When no C++ compiler is found, let CXX fall back to $CC, and disable
all features which require C++.
2009-04-15 22:29:16 +02:00
Max Kellermann
c13cecc0ae configure.ac: automatically detect the sidplay decoder
Set sidplay to "auto" by default, and enable it when it's found.
2009-04-15 22:24:59 +02:00
Max Kellermann
6e6917ac4e configure.ac: added a real check for libsidplay2
We still can't use the pkg-config file because it requires libtool.
2009-04-15 22:24:19 +02:00
Max Kellermann
60f5150d2b configure.ac: moved the sidplay check to its argument
Checks for features should be right next to its argument definition.
2009-04-15 22:23:50 +02:00
Max Kellermann
e1f0c5347c configure.ac: detect libiso9660 with pkg-config
Fail if the iso9660 plugin is enabled but not found.
2009-04-13 20:47:28 +02:00
Max Kellermann
e216e01ab3 configure.ac: detect libzzip with pkg-config
Fail if the zzip plugin is enabled but not found.
2009-04-13 20:46:31 +02:00
Max Kellermann
c824013e94 configure.ac: fail when bzip2 plugin is enabled but not found 2009-04-13 20:39:51 +02:00
Avuton Olrich
1acfd2423f configure: add shout AC_DEFINE, otherwise it will not enable. 2009-04-06 11:03:45 +02:00
Avuton Olrich
9e93875ccd Modify version string to post-release version 0.15~git 2009-04-02 22:17:30 +02:00