Commit Graph

  • eb537f84f1 audio: malloc reductions Eric Wong 2006-08-01 10:07:16 +00:00
  • b0965c317b audio: get rid of the myAudioDevicesEnabled array Eric Wong 2006-08-01 10:07:12 +00:00
  • c22a53d373 audio: remove AUDIO_MAX_DEVICES limit Eric Wong 2006-08-01 10:07:07 +00:00
  • 89073cfbba logging cleanups Eric Wong 2006-08-01 04:18:53 +00:00
  • 2532bc36d2 playerData: move player_pid into the main playerData structure Eric Wong 2006-08-01 04:18:48 +00:00
  • 5aca21a502 Several fixes uncovered with -pedantic Eric Wong 2006-08-01 04:18:41 +00:00
  • 9ccf40b242 src/listen.c: replace bcopy with memcpy Eric Wong 2006-08-01 04:18:37 +00:00
  • 4ff98a9a94 fix a bug when deleting node and CHILDREN_PER_NODE is even Warren Dukes 2006-08-01 03:34:56 +00:00
  • 42390c5e3b fix a bug when deleting songs and CHILDREN_PER_NODE > 3 Warren Dukes 2006-08-01 03:29:13 +00:00
  • 6f695b8d74 a couple of small cleanups Warren Dukes 2006-08-01 01:12:21 +00:00
  • c5cab16509 deletion of tree nodes now works. next is to clean up the code and make obvious optimizations Warren Dukes 2006-08-01 00:31:09 +00:00
  • 03fdf503f4 some tree bugfixes Warren Dukes 2006-07-31 06:54:49 +00:00
  • 60a7abc1f3 No code change, just add headers Avuton Olrich 2006-07-31 03:37:34 +00:00
  • 43fbf992e2 tree updates: *) add copyright notice *) implemented node deletion, but not yet tested Warren Dukes 2006-07-31 02:20:44 +00:00
  • 44f9e16922 software volume can now be saved and read from the state file Eric Wong 2006-07-30 23:32:54 +00:00
  • 12aec5738b Standardize state_file handling routines. Eric Wong 2006-07-30 23:32:47 +00:00
  • 381d7232a0 remove deprecated myfprintf wrapper Eric Wong 2006-07-30 23:32:39 +00:00
  • 71fe871908 tree updates: *) when CHILDREN_PER_NODE is large, use binary search *) add a iterator implementation *) some code cleanup Warren Dukes 2006-07-30 18:43:13 +00:00
  • 263a9d583a remove clumsy strncpy use Eric Wong 2006-07-30 10:31:41 +00:00
  • 4144afe551 Now fix the mp4 plugin warnings to what they were before the dynamic linking Avuton Olrich 2006-07-30 09:13:01 +00:00
  • a80168a15b gcc signedness and sparse fixes Eric Wong 2006-07-30 08:56:55 +00:00
  • e86fd65c81 commandError() cleanups, fixup gcc checks Eric Wong 2006-07-30 08:47:50 +00:00
  • a0c8e3656b beginnings of a B-tree, currently insertion has been implemented and test Warren Dukes 2006-07-30 07:58:56 +00:00
  • b38c3fa1bb command: fix find/search commands from the malloc reduction patch Eric Wong 2006-07-30 05:00:56 +00:00
  • da2d7e0c41 myfprintf: parse paths so we can reopen log files correctly Eric Wong 2006-07-30 04:38:36 +00:00
  • a331939d65 fix some warnings introduced in the big malloc-reduction patch Eric Wong 2006-07-30 03:57:29 +00:00
  • 4cf5d04ca1 interface/connection malloc reductions from mpd-ke Eric Wong 2006-07-30 03:43:38 +00:00
  • 4d5b8509eb conf.c: bugfix: print out the number, not the address Eric Wong 2006-07-30 03:43:34 +00:00
  • f08342c11f replace buffer2array() with cstrtok() from mpd-ke Eric Wong 2006-07-29 18:55:00 +00:00
  • f05166a6a0 command.c: shorten common variable names to argc and argv Eric Wong 2006-07-29 18:54:56 +00:00
  • 49d580b9ae "a" -> ) in ChangeLog J. Alexander Treuman 2006-07-27 21:37:22 +00:00
  • a741ee8638 Document which parameters may be specified multiple times in mpd.conf.5 J. Alexander Treuman 2006-07-27 19:23:37 +00:00
  • ce2fa2e846 conf.[ch] whitespace cleanup J. Alexander Treuman 2006-07-27 19:10:08 +00:00
  • a48061bacf Updating compress.[ch] from AudioCompress J. Alexander Treuman 2006-07-27 03:42:42 +00:00
  • 0116c27a6b Update author of AudioCompress in AUTHORS J. Alexander Treuman 2006-07-27 02:28:51 +00:00
  • 22b16884a2 Use AudioCompress for volume normalization J. Alexander Treuman 2006-07-27 00:50:59 +00:00
  • bf5336cebd Remove libid3tag/libmad copyright from AUTHORS, since it's no longer bundled J. Alexander Treuman 2006-07-27 00:12:14 +00:00
  • 8dcc3d31ac Remove the fifo plugin. It's currently useless for the average user, and making it more presentable isn't something I'm willing to do before 0.12. It will likely be added back after 0.12, along with some very experimental stuff to make it more usable. J. Alexander Treuman 2006-07-26 20:51:50 +00:00
  • 907fe56029 Remove the mp4ff directory from the root dir Avuton Olrich 2006-07-26 20:46:20 +00:00
  • 0f78a76fea Typo fix Avuton Olrich 2006-07-26 17:41:03 +00:00
  • 2fa3e8ab26 Silence a gcc warning... Properly. J. Alexander Treuman 2006-07-26 03:31:21 +00:00
  • faa3debe8e Silence a gcc warning J. Alexander Treuman 2006-07-26 03:28:43 +00:00
  • f2088bf869 jat's second tip of the day: when you change a ternary operator to an if, don't forget to take out everything after the :. And don't forget my first tip either. J. Alexander Treuman 2006-07-26 03:25:29 +00:00
  • 1bddcb6f92 Try to add the directory, again Avuton Olrich 2006-07-26 03:19:14 +00:00
  • a570f8d9a9 Screw this found_* stuff, just wrap parse_*() in an if J. Alexander Treuman 2006-07-26 03:17:30 +00:00
  • 13cca01c7b Don't decode the first frame if it has a xing tag, not only if it has a xing tag with a frame count J. Alexander Treuman 2006-07-26 03:14:19 +00:00
  • 95293aadcd Now commit the actual dir Avuton Olrich 2006-07-26 03:13:23 +00:00
  • b926dd100b Use the lame tag's encoder delay/padding to implement gapless mp3 playback J. Alexander Treuman 2006-07-26 03:10:19 +00:00
  • bf3848ef94 Put mp4ff back into the tree Avuton Olrich 2006-07-26 03:05:50 +00:00
  • 1523e8a842 Parse lame tag for encoder delay/padding so we can later implement gapless J. Alexander Treuman 2006-07-25 22:49:10 +00:00
  • a686436c77 jat's tip of the day: remember to remove your silly debug messages before committing J. Alexander Treuman 2006-07-25 22:22:48 +00:00
  • 356f16a877 Add support for mp1/2. Thanks to Stephan Beyer for the patch. J. Alexander Treuman 2006-07-25 22:08:55 +00:00
  • 073970ec4a Removing my stupid debug messages for testing xing J. Alexander Treuman 2006-07-25 20:09:24 +00:00
  • e65fb6e14f Reworking xing parsing so lame tags will fit in better J. Alexander Treuman 2006-07-25 20:08:22 +00:00
  • 0979b0f75e Thanks for making my code totally unreadable indent! J. Alexander Treuman 2006-07-25 19:08:46 +00:00
  • e880a878bc Open the db file before daemonizing/creating the master process, so we can handle failures gracefully J. Alexander Treuman 2006-07-24 19:21:27 +00:00
  • 48240740e7 Do normalization if there's replaygain data but replaygain is off J. Alexander Treuman 2006-07-24 16:32:50 +00:00
  • 24c1f46353 audioOutput_alsa: better period_size auto-configuration Eric Wong 2006-07-24 01:38:51 +00:00
  • 76528555dc If we're going to create the db file, make sure the parent path is a directory J. Alexander Treuman 2006-07-23 23:42:16 +00:00
  • c3bc1e5b3c Make checkDirectoryDB check that the db file is a regular file J. Alexander Treuman 2006-07-23 23:35:35 +00:00
  • bb9a5aaf2b Renaming stat struct to st, for consistency with the rest of mpd J. Alexander Treuman 2006-07-23 23:12:44 +00:00
  • af153d343b Tidying up code in checkDirectoryDB J. Alexander Treuman 2006-07-23 23:10:31 +00:00
  • 14eea124f6 chang the default period_time to 50ms. On my setup, setting the period_time to 0ms sounds like complete crap. 50ms is the default that xmms has used for years, so lets just stick with that. Warren Dukes 2006-07-23 04:00:52 +00:00
  • fe76580ce4 configure.ac: don't always try to add local lib/include paths Eric Wong 2006-07-22 23:28:30 +00:00
  • 7f363eb9c1 Cleanup some now unnecessary variables from the id3/mad removal Eric Wong 2006-07-22 23:28:26 +00:00
  • 0532c9ab4c Do a better job of trying to be able to run these scripts from 'anywhere' Avuton Olrich 2006-07-22 22:27:48 +00:00
  • c454122a02 - Add a 'scripts' directory, remove scripts from docs/ & base directory Avuton Olrich 2006-07-22 22:01:05 +00:00
  • 6dfaa33f37 Fix the ipv6 bind issue in a nicer way J. Alexander Treuman 2006-07-22 17:19:59 +00:00
  • f22479e4d4 Fix bug when binding to both ipv6 and ipv4 on Linux J. Alexander Treuman 2006-07-22 13:15:20 +00:00
  • 8a938bc8d3 Nicer formatting for ./configure --help J. Alexander Treuman 2006-07-22 01:48:36 +00:00
  • db76c2a444 Maybe we should actually commit the normalization code J. Alexander Treuman 2006-07-22 01:14:29 +00:00
  • cf90f8194f Adding on the fly volume normalization support. Code originally from mplayer, ported by syscrash, cleaned up by avuton, and further cleaned up by me (jat). J. Alexander Treuman 2006-07-22 00:53:37 +00:00
  • c4d1344f8c Adding fifo output plugin J. Alexander Treuman 2006-07-22 00:25:46 +00:00
  • c379533ba9 Fix a memory leak when removing a playlist J. Alexander Treuman 2006-07-21 17:53:36 +00:00
  • 95af15ce8f Initialize more stuff before daemonizing so we exit properly on fatal errors J. Alexander Treuman 2006-07-21 17:48:54 +00:00
  • 688166295a Remember kids: always test your code before committing J. Alexander Treuman 2006-07-21 17:34:50 +00:00
  • 6dbacc71c7 Make getBoolConfigParam and save_absolute_paths_in_playlist less stupid J. Alexander Treuman 2006-07-21 17:20:38 +00:00
  • ac7ef037b5 Use getBoolConfigParam for save_absolute_paths_in_playlist J. Alexander Treuman 2006-07-21 17:11:45 +00:00
  • b892028b96 Add a getBoolConfigParam function J. Alexander Treuman 2006-07-21 17:06:20 +00:00
  • 74c4f5364d audioOutput_alsa: oops, I broke autodetection in r4363, fixed Eric Wong 2006-07-21 07:04:28 +00:00
  • 160dbe080c Rolling back change to when we redirect to logs. Turns out it silenced fatal audio_output errors. J. Alexander Treuman 2006-07-20 22:47:34 +00:00
  • 0623d6bee0 #include <string.h> in PulseAudio output for correctness J. Alexander Treuman 2006-07-20 19:39:46 +00:00
  • 00e67be7c9 Add mpd-indent.sh Add a few new options for indent to try to make things a bit cleaner Avuton Olrich 2006-07-20 18:53:56 +00:00
  • 29a25b9933 Add mpd-indent.sh Indent the entire tree, hopefully we can keep it indented. Avuton Olrich 2006-07-20 16:02:40 +00:00
  • 099f0e103f Warnings fixes, since MPD uses different mp4ff they obviously changed some stuff around Avuton Olrich 2006-07-19 20:11:14 +00:00
  • a150663e71 Remove useless buffer signedness warnings, use void * rather than "x char *" Avuton Olrich 2006-07-19 19:41:59 +00:00
  • c7c8bd43db bind to ipv4 and ipv6 addresses for "any" Warren Dukes 2006-07-19 18:56:54 +00:00
  • adcc266250 Redirect to log files earlier to prevent some debug spam on console J. Alexander Treuman 2006-07-19 18:22:06 +00:00
  • 0905630073 Fix whitespace->tabs in main.c, it was afu Avuton Olrich 2006-07-19 18:04:15 +00:00
  • 3187eb300b s/ad/pd/ in the PluseAudio plugin (I forgot to rename when copying from alsa) J. Alexander Treuman 2006-07-19 16:50:03 +00:00
  • 2728853ec1 Throttle PuleAudio connection attempts so we don't spam the error log J. Alexander Treuman 2006-07-19 16:48:24 +00:00
  • 649a037e8d Use ERROR only once for our ogg vorbis errors, so we don't get a timestamp mid line J. Alexander Treuman 2006-07-19 15:58:11 +00:00
  • 9f6364af45 Remove the internal mp4ff dependency Avuton Olrich 2006-07-19 15:54:53 +00:00
  • 9774768b97 Initialize sigaction.sa_mask to an empty set in a few places we forgot to J. Alexander Treuman 2006-07-18 23:38:21 +00:00
  • ec19a53f23 Fix VBR mp3 seek accuracy bug J. Alexander Treuman 2006-07-18 23:28:25 +00:00
  • 6ea0ba392a Cleaned up parse_xing, added support for Info magic, and added a parse_extension_headers function for when LAME tag support is added J. Alexander Treuman 2006-07-18 18:18:02 +00:00
  • e7566b9643 Reindenting parse_xing, since I need to work on it and it's a mess J. Alexander Treuman 2006-07-18 16:28:58 +00:00
  • e6b0d82c2e Don't bother freeing a bunch of stuff at exit, since it takes far too long and accomplishes nothing. J. Alexander Treuman 2006-07-18 15:50:10 +00:00
  • 47037c6ac9 Some more autotools fixes/hacks/workarounds Eric Wong 2006-07-18 09:55:15 +00:00
  • 16c72e9742 inputPlugins/oggflac_plugin.c: remove unused var Eric Wong 2006-07-18 09:55:06 +00:00