Commit Graph

  • 9cf66d0e8a Initial cut of fork() => pthreads() for decoder and player Eric Wong 2008-04-12 04:08:00 +00:00
  • d742fa6596 whitespace cleanup Max Kellermann 2008-04-12 04:07:44 +00:00
  • 6142959456 proper bind error message for unix socket Max Kellermann 2008-04-12 04:07:37 +00:00
  • 913b2b8399 configure: output ipv6 support option result Max Kellermann 2008-04-12 04:07:31 +00:00
  • 86d6ba077b provide switches for TCP and unix sockets Max Kellermann 2008-04-12 04:07:24 +00:00
  • d4f319deaf support listening on unix domain sockets Max Kellermann 2008-04-12 04:07:18 +00:00
  • 623a86f389 use constant pointers when possible Max Kellermann 2008-04-12 04:07:11 +00:00
  • 83e937320b eliminate unused parameters Max Kellermann 2008-04-12 04:07:06 +00:00
  • 1b6cf29937 unsigned integers in playerData.[ch] Max Kellermann 2008-04-12 04:07:01 +00:00
  • c069b89d86 use unsigned integers in outputBuffer.c Max Kellermann 2008-04-12 04:06:57 +00:00
  • b60789dd8c fix sign compare warnings Max Kellermann 2008-04-12 04:06:52 +00:00
  • c011ab8105 deconstify input buffer for iconv() Max Kellermann 2008-04-12 04:06:45 +00:00
  • 51f5bf932c use unsigned integers in the flac plugin Max Kellermann 2008-04-12 04:06:39 +00:00
  • 4dc709d04e removed unused variable Max Kellermann 2008-04-12 04:06:28 +00:00
  • 665eab26f3 use unsigned integers in decoder.c Max Kellermann 2008-04-12 04:06:17 +00:00
  • fe36122c8c enable more warnings Max Kellermann 2008-04-12 04:06:11 +00:00
  • 7261a12b4c include os_compat.h in tarball distributions Eric Wong 2008-03-30 23:43:09 +00:00
  • 6e13b75186 notify: initialize variable to keep valgrind from bitching Eric Wong 2008-03-27 05:32:27 +00:00
  • 53be85e1b1 notify: more cleanups, add error checking for pipe errors Eric Wong 2008-03-26 10:39:13 +00:00
  • 19d4f6df18 interface: use a saner fdmax for select(2) when closing errored interfaces Eric Wong 2008-03-26 10:39:07 +00:00
  • 232c9f6c41 notify: cleanups Eric Wong 2008-03-26 10:39:03 +00:00
  • 70dbc2b0e7 send notify signal after SIGCONT Max Kellermann 2008-03-26 10:38:58 +00:00
  • bf05ce161f notify the decoder instead of polling 100hz Max Kellermann 2008-03-26 10:38:54 +00:00
  • 1d97bbbdd9 unsigned counters Max Kellermann 2008-03-26 10:38:48 +00:00
  • e4779fa752 don't repeat select() Max Kellermann 2008-03-26 10:38:44 +00:00
  • f9e317ccbd unlimited select() timeout Max Kellermann 2008-03-26 10:38:40 +00:00
  • d78ddd1e50 wavpack_plugin: cleanups after the last commit Eric Wong 2008-03-26 10:38:34 +00:00
  • ad0d350f28 WavPack improvements Laszlo Ashin 2008-03-26 10:38:30 +00:00
  • 99468b85ed networking: more assertions and cleanups to size_t/unsigned changes Eric Wong 2008-03-26 10:38:26 +00:00
  • 9ba7264362 audio.c: unsigned int functions return unsigned ints, not size_t Eric Wong 2008-03-26 10:38:21 +00:00
  • 7c560d047d audiofile_plugin: fix nasty long lines introduced in previous commit Eric Wong 2008-03-26 10:38:17 +00:00
  • 1910df96a3 moved code to initOutputBuffer() Max Kellermann 2008-03-26 10:38:12 +00:00
  • 27f12c173d use size_t Max Kellermann 2008-03-26 10:38:07 +00:00
  • 0692f6cd0a player: more assertions Max Kellermann 2008-03-26 10:37:58 +00:00
  • c0787cc984 audio: use a machine word for array sizes Max Kellermann 2008-03-26 10:37:54 +00:00
  • 5a62c5cf9c inputPlugins/oggvorbis: removed unused variables Max Kellermann 2008-03-26 10:37:49 +00:00
  • c5e1bc39e9 fix segmentation fault in song info parser Max Kellermann 2008-03-26 10:37:44 +00:00
  • c9e6201df5 fix strtok() related segmentation fault Max Kellermann 2008-03-26 10:37:40 +00:00
  • c5b524e376 eliminated duplicate initialization Max Kellermann 2008-03-26 10:37:36 +00:00
  • 54b544c2f4 parse/initialize with the correct data type Max Kellermann 2008-03-26 10:37:27 +00:00
  • b546bcfec6 fix "unreachable code" warning Max Kellermann 2008-03-26 10:37:23 +00:00
  • 66fe580642 explicitly downcast Max Kellermann 2008-03-26 10:37:17 +00:00
  • 13c17c3d94 check the result of fopen() in all code paths Max Kellermann 2008-03-26 10:37:10 +00:00
  • 33e88ff8f9 zero is a valid file descriptor Max Kellermann 2008-03-26 10:37:06 +00:00
  • c6ceceae8a moved handlePendingSignals() check into while() condition Max Kellermann 2008-03-26 10:37:02 +00:00
  • 7c69161913 inputPlugins: add .oga suffix support for Ogg containers Eric Wong 2008-03-20 05:27:04 +00:00
  • 7d574703ad Update ChangeLog and TODO Eric Wong 2008-02-25 00:19:14 +00:00
  • 5915fe55c0 listen.c: fix shadow warning here Eric Wong 2008-02-05 10:20:46 +00:00
  • 77e3283973 compress.c: fix skips/distortion introduced in r7146 Eric Wong 2008-02-05 10:17:45 +00:00
  • 6fbdc721d9 fix -Wconst warnings Max Kellermann 2008-02-05 10:17:33 +00:00
  • 22efbd5eca storedPlaylist: faster, but less accurate check for maximum sizes Eric Wong 2008-01-29 09:26:39 +00:00
  • b1cbe333a6 interface: abort if we expire while processing lines Eric Wong 2008-01-27 23:10:45 +00:00
  • 2fcd63feb1 gcc.h: fix compilation with !(gcc >= 3) Eric Wong 2008-01-27 23:10:41 +00:00
  • e35b6efb41 autogen.sh: support for newer autoconf versions (2.60, 2.61) Eric Wong 2008-01-27 23:10:37 +00:00
  • 688289b295 Revert the queue implementation and commands Eric Wong 2008-01-26 20:21:07 +00:00
  • 29df70366c storedPlaylist: prevent potential DoS from stored playlist commands Eric Wong 2008-01-26 20:20:59 +00:00
  • 3a1b3e3807 playlist: don't allow no-op/senseless movement of songs Eric Wong 2008-01-26 12:47:04 +00:00
  • e213ca4f8b playlist: allow move to specify offset from current song Eric Wong 2008-01-26 12:47:00 +00:00
  • 9eee1a81cf command: allow "addid" command to take an optional second argument, position Eric Wong 2008-01-26 12:46:56 +00:00
  • 2889b576eb command: cleanup integer argument validation for commands Eric Wong 2008-01-26 12:46:53 +00:00
  • 2f0e5bfd85 addToPlaylist/addSongToPlaylist: printId argument changed to added_id Eric Wong 2008-01-26 12:46:49 +00:00
  • 2dafd9cd56 gcc.h: support mpd_fprintf__, with arguments shifted even further right Eric Wong 2008-01-26 12:46:44 +00:00
  • 262e515bee Cleanup checking for tests in src/ when building in separate dir Eric Wong 2008-01-26 12:46:41 +00:00
  • c3ba1bb956 fixed "comparison between signed and unsigned" Signed-off-by: Eric Wong <normalperson@yhbt.net> Max Kellermann 2008-01-26 12:46:37 +00:00
  • 0659d35951 fix -Waggregate-return Signed-off-by: Eric Wong <normalperson@yhbt.net> Max Kellermann 2008-01-26 12:46:30 +00:00
  • 07eaad301a assume old flac api when FLAC_API_VERSION_CURRENT is not defined Max Kellermann 2008-01-26 12:46:26 +00:00
  • 07adb14e3c fixed -Wshadow warnings Signed-off-by: Eric Wong <normalperson@yhbt.net> Max Kellermann 2008-01-26 12:46:21 +00:00
  • 28008e6977 fixed invalid C prototypes Signed-off-by: Eric Wong <normalperson@yhbt.net> Max Kellermann 2008-01-26 12:46:09 +00:00
  • 7d66859277 ioops: make this zero-impact when compiling w/o zeroconf as well Eric Wong 2008-01-03 10:03:34 +00:00
  • a9b581f6c5 zeroconf: reformat (with mpd-indent.sh + manual tweaks) Eric Wong 2008-01-03 10:03:28 +00:00
  • 776ccc89ad directory: allow db_file to reside on / once again Eric Wong 2008-01-03 07:32:59 +00:00
  • cb8f1af3bd Cleanup #includes of standard system headers and put them in one place Eric Wong 2008-01-03 07:29:49 +00:00
  • 790e70cf25 directory.c: get rid of the horrid dirname(3) and libgen.h dependency Eric Wong 2008-01-03 07:22:22 +00:00
  • b1cdf8dadf document parent_path() Eric Wong 2008-01-03 07:22:18 +00:00
  • b70912031d playerCloseAudio() is static Eric Wong 2008-01-03 07:22:13 +00:00
  • 7de5f9cef1 player.c: introduce set_current_song to avoid needless repetition Eric Wong 2008-01-03 07:22:08 +00:00
  • 00e0224996 song: updateSongInfo: left out charset conversion when going thread-safe Eric Wong 2008-01-01 10:10:08 +00:00
  • 4c88ef34bb silence is constant, as is the buffer we pass to playAudio Eric Wong 2008-01-01 10:10:02 +00:00
  • 2cc59816a6 Simplify decode cleanup logic a bit Eric Wong 2008-01-01 10:09:56 +00:00
  • 5e7367c580 charConv: tie the buffer size for iconv() to our PATH_MAX constant Eric Wong 2008-01-01 10:09:43 +00:00
  • 1b4de32706 storedPlaylist: remove the needless StoredPlaylist struct and just use List Eric Wong 2008-01-01 10:09:36 +00:00
  • 09936358fa storedPlaylist: cleanup API and avoid needless heap allocations + error checks Eric Wong 2008-01-01 10:09:31 +00:00
  • 390ed29740 storedPlaylist: cleanup load function Eric Wong 2008-01-01 10:09:26 +00:00
  • 24c58132ec playlist: cleanup pathname generation for the "rm" command, too Eric Wong 2008-01-01 10:09:23 +00:00
  • 68b9f41381 playlist: avoid the use of newStoredPlaylist for saving active playlists Eric Wong 2008-01-01 10:09:18 +00:00
  • 47efe42321 Make utf8_to_fs_playlist_path universally accessible Eric Wong 2008-01-01 10:07:34 +00:00
  • 49f8660f35 storedPlaylist: fix compile warning (last-second internal API change) Eric Wong 2008-01-01 03:06:01 +00:00
  • c3a47fe364 mpc_plugin: break out if a missed error branch Eric Wong 2008-01-01 03:01:58 +00:00
  • 6fbbc642dd Revert r7111 and begin to properly fix storedPlaylist code Eric Wong 2008-01-01 03:01:24 +00:00
  • c75d33752a Don't let xstrdup(s) crash crash when s is NULL, but return Null in stead Qball Cow 2007-12-31 18:41:08 +00:00
  • a4ed0a8358 ogg_common: fix indent screwup Eric Wong 2007-12-31 00:54:38 +00:00
  • 0d1a3539ad fix builds that only have FLAC >= 1.1.3 but not Ogg-Vorbis Eric Wong 2007-12-31 00:54:32 +00:00
  • b79f6b882a Merge branches/ew r7104 Eric Wong 2007-12-28 02:56:25 +00:00
  • 0d26248a0d If clearing stored playlist fails, don't return error + OK. but only the error. this was caused by always having the handleStoredPlaylist function return 0. Qball Cow 2007-12-27 00:03:49 +00:00
  • f3d986e97b scripts/mpd-indent.sh: fixup goto label indentation Eric Wong 2007-12-16 21:47:48 +00:00
  • fd75619c3b Know about SND_PCM_STATE_RUNNING, might fix some bugs Qball Cow 2007-12-16 15:46:54 +00:00
  • 704daecbf2 Fix possible wrong 'addition' Qball Cow 2007-12-10 13:51:25 +00:00
  • ba48dc18fd Fix replaygain for latest flac version. The updated initialize method did not tell the libFLAC to look for the tag containing the replay information. Qball Cow 2007-12-06 23:01:28 +00:00
  • e1571cc705 Re-enable seeking in http streams. Fixing stopping mpd from block when trying to stop a ogg stream that is buffering. Qball Cow 2007-11-28 14:06:03 +00:00
  • 4447ce5065 Don't try to forever to get data when the sockets winds up in "temporary unavailable" when streaming music. But give up after 100 times. This is atm better then waiting until the connection gets back, because mpd blocks on this. Qball Cow 2007-11-28 14:00:56 +00:00