aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* moved command line parser to cmdline.cMax Kellermann2008-12-271-0/+2
|
* disable archive API without pluginsMax Kellermann2008-12-271-4/+9
| | | | | When there are no archive plugins, we do not need the archive API at all. Drop all its overhead.
* Merge branch 'experimental' of git://git.musicpd.org/metyl/mpdMax Kellermann2008-12-271-2/+21
|\ | | | | | | | | | | | | | | Conflicts: configure.ac src/ls.h src/output/shout_plugin.c
| * archiveapi: archive plugin for ISO filesViliam Mateicka2008-12-161-0/+4
| |
| * archiveapi: archive plugin for ZIP filesViliam Mateicka2008-12-161-0/+3
| |
| * archiveapi: archive plugin for BZ2 filesViliam Mateicka2008-12-161-0/+6
| |
| * new archive api, input_archive streamViliam Mateicka2008-12-161-2/+8
| |
* | Makefile.am: fix sparse invocationMax Kellermann2008-12-241-1/+4
|/ | | | Added missing includes.
* replay_gain: renamed sources to replay_gain.c, replay_gain.hMax Kellermann2008-11-111-2/+2
| | | | No CamelCase file names.
* Makefile.am: distribute input_curl.hMax Kellermann2008-11-051-0/+1
| | | | | input_curl.h was missing in the tarball because it was not listed in $(mpd_headers).
* configure.ac: separate the "aac" and "mp4" decoder testsMax Kellermann2008-11-031-1/+6
| | | | | | | MPD used to have a copy of the mp4ff library. Since that has been removed, AAC suport was disabled when there was no libmp4ff. Separate the libmp4ff test, and enable AAC support no matter if libmp4ff is available.
* removed unused sourcesMax Kellermann2008-11-021-2/+0
| | | | | Cleaning up artifacts from a merge gone wrong. Also remove the ringbuf library, which is not being used.
* renamed outputBuffer.[ch] to pipe.[ch]Max Kellermann2008-11-021-2/+2
| | | | | | | No CamelCase in the file name. The output_buffer struct is going to be renamed to music_pipe. There are so many buffer levels in MPD, and calling this one "output buffer" is wrong, because it's not the last buffer before the music reaches the output devices.
* removed UTF-8 library, use GLib insteadMax Kellermann2008-10-311-2/+0
| | | | Removed duplicated code.
* removed the sllist libraryMax Kellermann2008-10-311-2/+0
| | | | | The "simple singly-linked-list" library has been replaced with GLib's GList and GQueue.
* output: don't compile plugins which are disabledMax Kellermann2008-10-261-15/+46
| | | | Don't compile the sources of disabled output plugins at all.
* input_stream: renamed sources, no CamelCaseMax Kellermann2008-10-261-4/+4
| | | | Renamed inputStream.c and inputStream_file.c.
* http: use libcurlMax Kellermann2008-10-261-3/+7
| | | | | | | MPD's HTTP client code has always been broken, no matter how effort was put into fixing it. Replace it with libcurl, which is known to be quite stable. This adds a fat library dependency, but only for people who need streaming.
* renamed src/audioOutputs/ to src/output/Max Kellermann2008-10-261-15/+15
| | | | Again, no CamelCase in the directory name.
* renamed src/inputPlugins/ to src/decoder/Max Kellermann2008-10-261-14/+14
| | | | | These plugins are not input plugins, they are decoder plugins. No CamelCase in the directory name.
* removed internal copy of libmp4ffMax Kellermann2008-10-251-4/+1
| | | | | | MPD shouldn't integrate sources of other libraries. Since libmp4ff is part of libfaad, we should remove the old copy from src/mp4ff and link with the current version from libfaad instead.
* pcm_utils: moved channel conversion functions to pcm_channels.cMax Kellermann2008-10-231-0/+2
| | | | Separate code from pcm_utils.c to keep it small and simple.
* pcm_utils: moved code to pcm_resample.cMax Kellermann2008-10-231-0/+8
| | | | | | Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c.
* pcm_dither: added generic 24 to 16 bit ditheringMax Kellermann2008-10-231-0/+2
| | | | | Copied and adapted code from the mp3 decoder plugin. This library now replaces the old and low-quality function pcm_convert_24_to_16().
* renamed storedPlaylist.c to stored_playlist.cMax Kellermann2008-10-221-2/+2
| | | | No CamelCase in file names.
* ffmpeg: new decoder pluginViliam Mateicka2008-10-171-0/+6
| | | | | | [mk: fixed indent, changed copyright statement, added autoconf test, fixed includes paths, fixed 2 gcc warnings, don't close input stream twice]
* Makefile.am: don't compile disabled decoder pluginsMax Kellermann2008-10-171-16/+48
| | | | | Don't compile the sources of disabled decoder plugins at all, and don't attempt to register these.
* Makefile.am: don't compile disabled sourcesMax Kellermann2008-10-171-2/+8
| | | | | If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
* configure.ac: find more libraries with pkg-configMax Kellermann2008-10-161-0/+6
| | | | | Detect the following libraries with pkg-config: libshout, libid3tag, libmad.
* shout: check for vorbisenc libraryMax Kellermann2008-10-151-2/+2
| | | | | The switch from ogg.m4 to pkg-config intentionally disabled libvorbisenc. Enable it when shout_ogg is used.
* fixing several imports to work via pkg-configEnrico Weigelt2008-10-151-3/+10
| | | | | This patch fixes several imports to use pkg-config instead of certain esoteric tests.
* path, tag_id3: use g_convert() instead of charConv.cMax Kellermann2008-10-151-2/+0
| | | | | | | GLib provides an easier API for character set conversion than iconv(). Use g_convert() / g_convert_with_fallback() for all character conversions. We should optimize the path.h API later to return a newly allocated buffer, so we can just pass GLib's return value.
* use GLibMax Kellermann2008-10-151-1/+4
| | | | | | GLib is a nice and portable utility library. We are going to use it from now on, and eliminate a lot of duplicated code from MPD. Why invent the wheel again and again?
* command: added command "idle"Max Kellermann2008-10-141-0/+2
| | | | | | "idle" waits until something noteworthy happens on the server, e.g. song change, playlist modified, database updated. This allows clients to keep up to date without polling.
* mapper: new song-to-filesystem mapper libraryMax Kellermann2008-10-141-0/+2
| | | | | | The mapper library maps directory and song objects to file system paths. With this central library, the code mixture in path.c should be cleaned up, and we will be able to add neat features like aliasing.
* playlist: moved code to playlist_save.cMax Kellermann2008-10-141-0/+2
| | | | | playlist_print_song() and playlist_print_uri() handle charset conversion and (optional) music directory prefixing.
* diretory: moved code to directory_save.c, directory_print.cMax Kellermann2008-10-091-0/+4
| | | | | | Remove clutter from directory.c. Everything which saves or loads to/from the hard disk goes to directory_save.c, and code which sends directory information to the client is moved into directory_print.c.
* directory: moved code to database.cMax Kellermann2008-10-081-0/+2
| | | | | | Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects.
* directory: moved code to update.cMax Kellermann2008-10-081-0/+2
| | | | | | The source directory.c mixes several libraries: directory object management, database management and database update, resulting in a 1000+ line monster. Move the whole database update code to update.c.
* dirvec: moved code to dirvec.cMax Kellermann2008-10-081-0/+1
| | | | | | | | Having all functions as static (non-inline) functions generates GCC warnings, and duplicates binary code across several object files. Most of dirvec's methods are too complex for becoming inline functions. Move them all to dirvec.c and publish the prototypes in dirvec.h.
* autotools: tidy up make distEric Wong2008-10-061-0/+1
| | | | | | | | * Add missing headers in Makefile.am * remove mp4ff.dsp (Win32 crap) * Add scripts, m4, bs, autogen.sh to allow for hotfixes by the SCM-challenged. (downloading the source via git is NOT a lightweight operation for everybody).
* assume stdint.h and stddef.h are availableMax Kellermann2008-09-291-1/+0
| | | | | | Since we use a C99 compiler now, we can assert that the C99 standard headers are available, no need for complicated compile time checks. Kill mpd_types.h.
* directory: replace DirectoryList with dirvecEric Wong2008-09-291-0/+1
| | | | | Small memory reduction compared to songvec since most users have much fewer dirs than songs, but still nice to have.
* output: make "struct audio_output" opaque for output pluginsMax Kellermann2008-09-241-0/+1
| | | | | | | | | | | We have eliminated direct accesses to the audio_output struct from the all output plugins. Make it opaque for them, and move its real declaration to output_internal.h, similar to decoder_internal.h. Pass the opaque structure to plugin.init() only, which will return the plugin's data pointer on success, and NULL on failure. This data pointer will be passed to all other methods instead of the audio_output struct.
* output: added audio_output_get_name()Max Kellermann2008-09-241-0/+1
| | | | | | Reduce direct accesses to the audio_output struct from the plugins: this time, eliminate all accesses to audio_output.name. The name is required by some plugins for log messages.
* output: one thread per audio outputMax Kellermann2008-09-241-0/+2
| | | | | | To keep I/O nastiness and latencies away from the core, move the audio output code to a separate thread, one per output. The thread is created on demand, and currently runs until mpd exits.
* Replace SongList with struct songvecEric Wong2008-09-231-0/+2
| | | | | | | Our linked-list implementation is wasteful and the SongList isn't modified enough to benefit from being a linked list. So use a more compact array of song pointers which saves ~200K on a library with ~9K songs (on x86-32).
* shout: added mp3 encoderEric Wollesen2008-09-121-0/+1
| | | | | | | | | | | | | [mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3 audio outputs". The original commit message follows, although it is outdated:] Creation of shout_mp3 audio output plugin. Basically I just copied the existing shout plugin and replaced ogg with lame. Uses lame for mp3 encoding. Next step is to pull common functionality out of each shout plugin and share it between them. Configuration options for "shout_mp3" are the same as for "shout".
* shout: moved code to audioOutput_shout_ogg.cMax Kellermann2008-09-121-0/+1
| | | | | | | | | | | Begin dividing audioOutput_shout.c: move everything OGG Vorbis related to audioOutput_shout_ogg.c. The header audioOutput_shout.h has to keep its dependency on vorbis/vorbisenc.h, because it needs the vorbis encoder types. For this patch, we have to export several internal functions with generic names to the ABI; these will be removed later when the encoder plugin patches are merged.
* shout: moved declarations to audioOutput_shout.hMax Kellermann2008-09-121-0/+1
| | | | | Prepare the split of the shout plugin into multiple sources: move all important declarations to audioOutput_shout.h.