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
Avuton Olrich
89a468aa9b
mpd version 0.15~alpha1
2009-04-02 22:17:09 +02:00
Max Kellermann
a376b47189
configure.ac: moved libmikmod test to --enable-mikmod
2009-04-01 22:50:21 +02:00
Max Kellermann
a7685780ed
configure.ac: renamed --enable-mod to --enable-mikmod
2009-04-01 22:48:06 +02:00
Max Kellermann
5242305a90
configure.ac: renamed --enable-oggvorbis to --enable-vorbis
2009-04-01 22:45:17 +02:00
Max Kellermann
b914d3f6eb
Makefile.am: use TREMOR_CFLAGS and TREMOR_LIBS
...
Don't append those two CFLAGS/LIBS in configure.ac.
2009-04-01 22:45:00 +02:00
Max Kellermann
780ce49249
configure.ac: renamed --enable-oggvorbis-encoder
...
Renamed --enable-oggvorbis-encoder to --enable-vorbis-encoder.
2009-04-01 22:44:45 +02:00
Max Kellermann
e2ca6b156e
configure.ac: renamed --enable-lame to --enable-lame-encoder
2009-04-01 22:44:28 +02:00
Max Kellermann
8fe2720310
configure.ac: fix typo in help string
2009-04-01 22:13:38 +02:00
Max Kellermann
20d50ffbc4
configure.ac: fail when LAME is enabled but not found
...
Use MPD_AUTO_RESULT(), and set enable_lame to "auto" by default.
2009-04-01 22:06:40 +02:00
Max Kellermann
b9a5e78780
Makefile.am: use LAME_CFLAGS and LAME_LIBS
...
Don't append LAME_CFLAGS/LAME_LIBS to MPD_CFLAGS/MPD_LIBS in
configure.ac. Export them via AC_SUBST() instead.
2009-04-01 22:05:53 +02:00
Max Kellermann
0a62bdaded
configure.ac: fail when vorbis encoder is enabled but not found
...
Use MPD_AUTO_PKG(). Removed the checks for the Ogg Vorbis decoder
plugin, this is not directly related.
2009-04-01 22:05:07 +02:00
Max Kellermann
9509bd460f
configure.ac: don't check for encoders when shout/httpd disabled
...
Use the new $need_encoder variable to determine whether encoder
plugins would actually be used if they were available.
2009-04-01 22:03:37 +02:00
Max Kellermann
1d0b2c5679
configure.ac: auto-detect HTTPD plugin depending on encoders
...
Enable the HTTPD output plugin by default, provided that the encoder
API is available.
2009-04-01 21:59:58 +02:00
Max Kellermann
d6d244c5a1
configure.ac: fail when shout is enabled but no libshout available
...
This patch makes the shout checks use MPD_AUTO_PKG() instead of
manually invoking PKG_CHECK_MODULES(). It sets the default value to
"auto" instead of "no".
2009-04-01 21:58:38 +02:00
Max Kellermann
d20a8258b4
configure.ac: added variable $enable_encoder
...
$enable_encoder specifies whether one or more encoder plugins are
enabled. This simplifies several checks, and allows easier
integration of more encoder plugins.
2009-04-01 21:54:38 +02:00
Max Kellermann
67e0a71ab3
configure.ac: moved encoder checks to separate encoder section
2009-04-01 21:06:53 +02:00
Max Kellermann
a3823c7657
Merge branch 'master' of git://git.musicpd.org/jrk/mpd
2009-04-01 15:36:24 +02:00
Avuton Olrich
85cecbddde
configure: remove --*-mp3, it is broken and not worth supporting
2009-04-01 06:06:06 -07:00
Jochen Keil
192e29107d
Configure/Make dependencies for cue/cue_tag.h/.c
...
Autoconf/automake support for libcue which
is needed for cue/cue_tag.h/.c.
Libcue will have/has pkg-config support
so this is fairly straightforward.
2009-03-31 22:17:56 +02:00
Max Kellermann
cd2d47b01c
configure.ac: use more MPD_AUTO_PKG()
2009-03-28 21:48:09 +01:00
Max Kellermann
87e0b1adc4
configure.ac: added M4 function MPD_AUTO_PKG() for ALSA
...
MPD_AUTO_PKG() runs pkg-config and then forwards control to
MPD_AUTO_RESULT(). This is a commonly used short cut.
2009-03-28 21:48:07 +01:00
Max Kellermann
33aeac4fcb
Makefile.am: use PULSE_CFLAGS and PULSE_LIBS
...
Don't add those to MPD_CFLAGS and MPD_LIBS.
2009-03-28 21:39:26 +01:00
Max Kellermann
5164cc1ff8
Makefile.am: use JACK_CFLAGS and JACK_LIBS
...
Don't add those to MPD_CFLAGS and MPD_LIBS.
2009-03-28 21:38:53 +01:00
Max Kellermann
50c53e4b24
Makefile.am: use SAMPLERATE_CFLAGS and SAMPLERATE_LIBS
...
Don't add those to MPD_CFLAGS and MPD_LIBS.
2009-03-28 21:38:44 +01:00
Max Kellermann
de7c16d1be
configure.ac: removed debug line
2009-03-28 11:12:09 +01:00
Max Kellermann
53ed647b22
configure.ac: fail when ALSA is enabled but not found
...
This patch adds a small autoconf M4 library which deals with
auto-detected features. The default for those features is "auto",
which is like the old default: if the library is present on the
system, enable the feature, disable otherwise. If the user explicitly
enables that feature (--enable-alsa), and the library is not present,
configure must fail, because it cannot fulfill the request.
2009-03-28 11:10:40 +01:00
Max Kellermann
f5548a8654
mpcdec: support the new libmpcdec SV8 API
2009-03-27 19:51:59 +01:00
Max Kellermann
8fa44d53ab
configure.ac: require GLib 2.6
...
We're using GLib macros which were introduced in GLib 2.6, like
G_GNUC_MALLOC. Let's just drop support for GLib versions older than
2.6 instead of adding more complicated compatibility hacks.
2009-03-27 18:04:34 +01:00
Max Kellermann
bba127a392
solaris: new audio output plugin for Solaris /dev/audio
2009-03-16 09:55:10 +01:00
Avuton Olrich
f35432af5a
configure: Merge lame*encoder to lame
2009-03-16 08:44:48 +01:00
Avuton Olrich
b356bcf6fa
configure: don't warn just because we don't have an optional library.
2009-03-16 08:44:46 +01:00
Avuton Olrich
e773cfa32b
configure: error out against streaming output, not encoder.
2009-03-16 08:44:44 +01:00
Avuton Olrich
f1fb4e99a6
configure: Always run pkg-config for shout, define AC_DEFINE if enabled
...
[mk: don't run pkg-config when shout is disabled]
2009-03-16 08:44:41 +01:00
Avuton Olrich
04b092bbfe
configure: add shout autoconf argument.
2009-03-15 12:37:24 -07:00
Avuton Olrich
7b5c658f7e
configure: Fail if trying to build with streaming output and no encoder
2009-03-15 12:17:11 -07:00
Avuton Olrich
f5c75d8846
configure: Move encoders to their own report section.
2009-03-15 12:02:43 -07:00
Avuton Olrich
a672cf1c63
configure: replace all instances shout*[mp3|ogg] with [lame|oggvorbis]*encoder
2009-03-15 11:46:44 -07:00
Avuton Olrich
50c2dde5b5
configure.ac: Enable ENCODER if httpd_output, even if SHOUT is disabled.
2009-03-15 19:05:32 +01:00
Max Kellermann
e62580db0b
httpd: new output plugin to replace "shout"
...
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
Max Kellermann
a7318a6476
configure.ac: add -pg to MPD_LIBS with --enable-gprof
2009-03-11 09:20:29 +01:00
Max Kellermann
940af669b3
poison: added valgrind support
...
If the header valgrind/memcheck.h is available, add
VALGRIND_MAKE_MEM_NOACCESS() and VALGRIND_MAKE_MEM_UNDEFINED()
support, which enables nice warnings in the valgrind memory checker.
2009-03-09 19:10:18 +01:00
Max Kellermann
2ba5278440
configure.ac: fix --enable-bzip2 and --enable-iso9660 variable name
...
Another "remove redundant explicit $enableval assignments" breakage.
2009-03-07 23:05:25 +01:00
Max Kellermann
9ed409cdcc
configure.ac: fix --enable-X variable names
...
The patch "remove redundant explicit $enableval assignments" broke
several options with non-standard variable names.
2009-03-07 15:50:19 +01:00
Avuton Olrich
55b0fed293
configure: global indention and trim line wc to 80 when practical.
2009-03-06 08:30:59 -08:00
Avuton Olrich
771c061964
configure: Move the faad stuff to m4/faad.m4
2009-03-06 08:30:59 -08:00
Avuton Olrich
aebb522639
configure: No capitalization on beginning of help strings.
...
Most strings have no capitalization at the beinning, make all strings
non-capital.
2009-03-06 08:30:59 -08:00
Avuton Olrich
67cecf4e95
configure: specify that faad2 prefix is optional in the help string
2009-03-06 08:30:59 -08:00