aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * decoder/ffmpeg: don't use deprecated CODEC_TYPE_AUDIO with new lavcAnton Khirnov2011-05-091-0/+4
| | | | | | | | fixes build with lavc 53.
| * decoder/ffmpeg: define fallback macro AV_VERSION_INT()Max Kellermann2011-05-091-1/+5
| | | | | | | | For ffmpeg < 0.5. Copied from libavutil 0.5.
* | cue_tag: show CUE track numbersQball Cow2011-05-091-0/+9
| |
* | decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7Max Kellermann2011-05-091-0/+2
| | | | | | | | It's a no-op and deprecated.
* | decoder/ffmpeg: use AVIOContext instead of ByteIOContextMax Kellermann2011-05-091-0/+12
| |
* | input/ffmpeg: use the new AVIOContext APIMax Kellermann2011-05-091-1/+37
| | | | | | | | URLContext is deprecated.
* | decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann2011-04-121-1/+22
| | | | | | | | | | avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
* | decoder/ffmpeg: make variables more localMax Kellermann2011-04-121-27/+16
| |
* | decoder/ffmpeg: drop support for pre-0.5 ffmpegAnton Khirnov2011-04-122-53/+0
| | | | | | | | | | All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions.
* | Merge branch 'v0.16.x'Max Kellermann2011-04-123-3/+4
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-04-121-1/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/listen.c
| | * listen: suppress "unused variable" warningMax Kellermann2011-03-231-0/+2
| | |
| | * command: fix return value of handle_currentsong()Max Kellermann2011-03-231-1/+1
| | | | | | | | | | | | Thanks to clang for complaining.
| | * encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-161-0/+2
| | | | | | | | | | | | | | | Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
| * | decoder/flac: fix enum mismatch in flac_tell_cb()Max Kellermann2011-03-231-1/+1
| | | | | | | | | | | | Fix clang warning.
| * | audio_parser: fix assertion failure in audio format mask parserMax Kellermann2011-03-231-1/+2
| | | | | | | | | | | | Use audio_format_mask_valid() to verify a mask.
* | | playlist: Despotify plugin: Correct init in daemon modeSimon Kagstrom2011-04-121-1/+1
| | | | | | | | | | | | | | | There is a global despotify session, so it should not be initialized until needed.
* | | fix common misspellingsJonathan Neuschäfer2011-03-3121-37/+37
| | | | | | | | | | | | | | | | | | | | | These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* | | playlist: Add despotify playlist pluginSimon Kagstrom2011-03-293-0/+245
| | | | | | | | | | | | | | | | | | | | | For spotify playlists or tracks. Uses a spt uri, so with mpc you can add playlists with mpc load spt://spotify:user:simon.kagstrom:playlist:3SUwkOe5VbVHysZcidEZtH
* | | input: Add despotify input pluginSimon Kagstrom2011-03-294-0/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Spotify tracks. Uses a spt URI, so with mpc you can play tracks with e.g., mpc add spt://spotify:track:5qENVY0YEdZ7fiuOax70x1 mpc play Uses the pcm_decoder_plugin for the output
* | | despotify: Add support utilitiesSimon Kagstrom2011-03-294-0/+194
| | | | | | | | | | | | | | | Used to connect and authenticate to despotify. Provides a singleton session and a desptoify-track-to-tags function.
* | | decoder: PCM decoder: Inherit seekable from the input streamSimon Kagstrom2011-03-231-1/+1
| | | | | | | | | | | | E.g., spotify isn't seekable.
* | | decoder: PCM decoder: Break loop if EOF is encounteredSimon Kagstrom2011-03-231-0/+4
| | | | | | | | | | | | Otherwise the song playing might go on forever.
* | | Remove unused headers in Roar plugin.Hans-Kristian Arntzen2011-03-232-9/+0
| | | | | | | | | | | | Should fix build errors for Win32.
* | | Merge commit 'release-0.16.2'Max Kellermann2011-03-1921-39/+90
|\| | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * | command: print playlist load errorMax Kellermann2011-03-181-1/+1
| | | | | | | | | | | | Call print_playlist_result() instead of casting the enum implicitly.
| * | output/httpd: include sys/socket.h only when building with libwrapMax Kellermann2011-03-181-1/+1
| | | | | | | | | | | | Fixes build failure on WIN32.
| * | update_walk: ignore parameter "mode" on WIN32Max Kellermann2011-03-181-0/+1
| | | | | | | | | | | | Fix compiler warning.
| * | audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann2011-03-164-0/+13
| | |
| * | encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-161-0/+2
| | | | | | | | | | | | | | | Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
| * | Merge release 0.15.16 into v0.16.xMax Kellermann2011-03-164-9/+18
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/output/jack_plugin.c src/update.c
| | * output/jack: fix crash with mono playbackMax Kellermann2011-02-271-1/+1
| | | | | | | | | | | | | | | | | | With mono sound, jack_sample_size is smaller than frame_size (4 vs 2 bytes), and "space/jack_sample_size==0". That means mpd_jack_play() will return 0, although no error has occurred.
| | * output/jack: rename variable sample_size to jack_sample_sizeMax Kellermann2011-02-251-5/+6
| | |
| | * Insure proper initialization of stack-allocated struct.Christopher Brannon2011-02-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 1.0.0 of the libao library added a new field to the ao_sample_format struct. It is a char * named matrix. When an ao_sample_format is allocated on the stack, this field contains garbage. The proper course is to insure that is initialized to NULL. NULL indicates that we do not want any mapping. The struct is now initialized using a static initializer, and this technique is compatible with all known versions of libao.
| | * update: log all file permission problemsMax Kellermann2011-01-311-0/+6
| | |
| | * Fix NDEBUG testAndreas Wiese2011-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | <stdbool.h> needs to be included unconditionally from definition of NDEBUG, since »bool« doesn't get defined otherwise. Signed-off-by: Andreas Wiese <aw-devel@meterriblecrew.net>
| * | output/httpd: include sys/socket.h for AF_UNIXUlrich Spörlein2011-03-091-0/+1
| | |
| * | output/oss: disable 24 bit playback on FreeBSDMax Kellermann2011-02-281-0/+9
| | | | | | | | | | | | See code comment.
| * | output/oss: AFMT_S24_PACKED is little-endianMax Kellermann2011-02-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | According to the Solaris dsp manpage, AFMT_S24_PACKED is little-endian: http://download.oracle.com/docs/cd/E19963-01/821-1475/6nmf5baot/index.html The Minix soundcard.h header says the same.
| * | general: whitespace cleanupThomas Jansen2011-02-099-29/+29
| | | | | | | | | | | | | | | Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
| * | output/httpd: initialize unflushed_inputThomas Jansen2011-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following valgrind warning occuring on the first call of httpd_output_read_page: ==20124== Conditional jump or move depends on uninitialised value(s) ==20124== at 0x425E65: httpd_output_read_page (httpd_output_plugin.c:240) ==20124== by 0x426087: httpd_output_open (httpd_output_plugin.c:279) ==20124== by 0x41D862: ao_open (output_plugin.h:206) ==20124== by 0x41E133: audio_output_task (output_thread.c:590)
| * | Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,Tony Miller2011-02-031-0/+3
| | | | | | | | | | | | this needs to be done for the end of songs to be detected.
* | | RoarAudio output pluginHans-Kristian Arntzen2011-03-165-0/+512
| | |
* | | command: "update" and "rescan" need only "CONTROL" permissionMax Kellermann2011-02-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From http://bugs.debian.org/513291 "In mpd.conf, the "admin" permission covers updating the db and killing mpd. "Since there are quite some usecases in which the user can upload music to the mpd's directory by means of anonymous FTP or so, it is desirable that any user may issue a db update, while killing the mpd should not be possible. "I'd suggest to remove the db update from the admin group and either add it to "control" or an own group."
* | | playlist_state: add option "restore_paused"Max Kellermann2011-02-232-0/+9
| | | | | | | | | | | | | | | When set, MPD will not auto-start playback on startup; it will be in "paused" state.
* | | playlist_state: declare local variable as enumMax Kellermann2011-02-231-1/+1
| | |
* | | output/shout: add possibility to set urlThomas Jansen2011-02-091-0/+7
| | | | | | | | | | | | Added a new optional parameter for the shout plugin called "url".
* | | protocol: support client-to-client communicationMax Kellermann2011-01-299-0/+562
| | |
* | | client_idle: export client_idle_add()Max Kellermann2011-01-292-5/+14
| | |
* | | client_idle: add header client_idle.hMax Kellermann2011-01-295-13/+45
| | |