Commit Graph

895 Commits

Author SHA1 Message Date
Warren Dukes 8936789631 add OS X configure stuff and added a skeleton audioOutput plugin for OS X
git-svn-id: https://svn.musicpd.org/mpd/trunk@3074 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 19:23:09 +00:00
Warren Dukes 3d81a723c7 slight changes to alsa errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@3072 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 16:42:04 +00:00
Warren Dukes 5ba5832f5a todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3069 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 16:05:23 +00:00
Warren Dukes 246832f670 change some header includes so that we can compile on OS X
git-svn-id: https://svn.musicpd.org/mpd/trunk@3067 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:48:24 +00:00
Warren Dukes c902326d15 add codeset.m4, OS X doesn't have this
git-svn-id: https://svn.musicpd.org/mpd/trunk@3066 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:42:06 +00:00
Warren Dukes 4503d1550f don't actually require libao
git-svn-id: https://svn.musicpd.org/mpd/trunk@3065 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:36:46 +00:00
Warren Dukes aa7b698086 *) slight code cleanup
*) now --kill will not check for /proc/<pid>/exe (this is linux specific)

git-svn-id: https://svn.musicpd.org/mpd/trunk@3063 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 22:38:49 +00:00
Warren Dukes 41b5fedaf0 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3062 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 11:47:44 +00:00
Warren Dukes d857f45f35 add audiofile.m4
git-svn-id: https://svn.musicpd.org/mpd/trunk@3061 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 06:29:06 +00:00
Warren Dukes 44f802a74d update config file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3060 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 04:06:16 +00:00
Warren Dukes 0afc94e426 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3059 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 03:15:07 +00:00
Warren Dukes 75b0ce8ecb todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3058 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 03:11:34 +00:00
Warren Dukes 8583a3bc4e if no audioOutput specified, we no attempt to detect if there exists a usable oss or alsa device
git-svn-id: https://svn.musicpd.org/mpd/trunk@3057 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-12 03:10:09 +00:00
Warren Dukes 1865193575 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3056 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-11 23:34:41 +00:00
Warren Dukes 99854853b7 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3055 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-11 23:34:01 +00:00
Warren Dukes 75a967014f removed the id3v1_encoding config option, there's no way to guarantee that we actually got a given field from the v1 and not the v2 tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@3052 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-11 02:59:26 +00:00
Warren Dukes 959f9880ef todo update, and remove a potentially gratutious playSilence() call
git-svn-id: https://svn.musicpd.org/mpd/trunk@3051 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 10:47:06 +00:00
Warren Dukes 1f3116766c todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3050 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 03:02:39 +00:00
Warren Dukes d4c225fa50 code to attempt to pick a supported sample rate, bits, and channels if the requested format is not supported by the OSS device
git-svn-id: https://svn.musicpd.org/mpd/trunk@3049 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 02:47:18 +00:00
Warren Dukes 4c2fd7884a todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3048 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-10 00:26:28 +00:00
Warren Dukes 384ecd09c1 fix segfault in error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@3046 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:45:30 +00:00
Warren Dukes 5f8bf2b4bb add ability to forcefully kill pid listed in pid file with '-kill -kill'
git-svn-id: https://svn.musicpd.org/mpd/trunk@3045 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:40:02 +00:00
Warren Dukes 70463a1dac don't print out config line in error message about pid file missing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3044 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:30:34 +00:00
Warren Dukes c673bc86cd fix an error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@3043 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:29:30 +00:00
Warren Dukes 4c7c6ca4a6 *) add support for pid files
*) we now require pid_file to specified in the config
*) new prefered method for killing mpd: mpd --kill
*) cleaned up some nastiness with decode_pid handling

git-svn-id: https://svn.musicpd.org/mpd/trunk@3042 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-09 03:13:33 +00:00
Warren Dukes a849136820 undo fix for killall not preserving the current format properly, it causes problems for alsa and other things that spawn extra process w/o us knowing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 02:51:15 +00:00
Warren Dukes b5e55a648f we ne allow audioOutput plugins to set the final outAudioFormat that will be used. we now use alsa's _near functions to detect what to use.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3038 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 01:53:13 +00:00
Warren Dukes fa08a7e3ff for windows compatibility, if we're unable to add a song, convert '\' to '/' and try again to add the file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3036 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 01:07:46 +00:00
Warren Dukes 8db09d0b76 make PCM the default controller for the mixer
git-svn-id: https://svn.musicpd.org/mpd/trunk@3035 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 00:54:37 +00:00
Warren Dukes 6a77e60c70 now player and decoder processes should only exit() when receiving term signal from their respective parent processes
git-svn-id: https://svn.musicpd.org/mpd/trunk@3034 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-08 00:17:33 +00:00
Warren Dukes 3764b06083 hopefully replaygain now works for musepack
git-svn-id: https://svn.musicpd.org/mpd/trunk@3031 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-07 01:30:29 +00:00
Warren Dukes 01b708bc13 add support for parsing ape tags in musepack files
git-svn-id: https://svn.musicpd.org/mpd/trunk@3030 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-07 00:51:21 +00:00
Warren Dukes 32a1f952e8 fix stateFile path getting garbled
git-svn-id: https://svn.musicpd.org/mpd/trunk@3029 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 20:04:50 +00:00
Warren Dukes 522bb6b61f update usage and mpd man page to indicate that we now require a config file
git-svn-id: https://svn.musicpd.org/mpd/trunk@3028 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 19:03:25 +00:00
Warren Dukes 586a21688f config file change! now 'port' is optional and 'db_file' is required!
also, should have better error reporting when failing to open playlist or
music directory's, or writing the db, etc

git-svn-id: https://svn.musicpd.org/mpd/trunk@3027 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 19:00:58 +00:00
Warren Dukes d60c37f1f9 sample config file example
git-svn-id: https://svn.musicpd.org/mpd/trunk@3026 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 04:27:19 +00:00
Warren Dukes 8cea9bf485 todo cleanup
git-svn-id: https://svn.musicpd.org/mpd/trunk@3025 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 01:21:15 +00:00
Warren Dukes 014b138860 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3024 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-06 01:06:03 +00:00
Warren Dukes 394a4862b4 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3023 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 22:25:31 +00:00
Warren Dukes 3bdee55217 added composer, performer, and comment metadata items
git-svn-id: https://svn.musicpd.org/mpd/trunk@3022 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 22:24:10 +00:00
Warren Dukes 4b016cafa1 wee bit of code cleanup
git-svn-id: https://svn.musicpd.org/mpd/trunk@3021 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 21:09:32 +00:00
Warren Dukes 8e634b8237 don't need the extra snd_pcm_prepare after _drop
git-svn-id: https://svn.musicpd.org/mpd/trunk@3020 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 21:07:09 +00:00
Warren Dukes 8004ae341f more alsa work
git-svn-id: https://svn.musicpd.org/mpd/trunk@3019 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 20:51:36 +00:00
Warren Dukes b94fa9c949 set buffer_before_play default to 0%
git-svn-id: https://svn.musicpd.org/mpd/trunk@3018 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 19:22:13 +00:00
Avuton Olrich 93902434d7 mpdconf.example should be installed in the docs directory also
git-svn-id: https://svn.musicpd.org/mpd/trunk@3017 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 17:52:25 +00:00
Avuton Olrich a653bd76d4 Update the configure.ac to allow only compiling with ALSA output plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@3016 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 17:34:40 +00:00
Warren Dukes 99b28b12b6 this seemed to help a bit with the blip's on next
git-svn-id: https://svn.musicpd.org/mpd/trunk@3015 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:45:27 +00:00
Warren Dukes 8a00fa6c57 we want to stat, not lstat
git-svn-id: https://svn.musicpd.org/mpd/trunk@3014 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:28:37 +00:00
Warren Dukes c8f044572e fix some compilation warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@3013 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:26:37 +00:00
Warren Dukes 92653f8474 implemented dropping of current buffered audio, works for oss, but there seems
to be a "blip" for alsa devices, needs more work

git-svn-id: https://svn.musicpd.org/mpd/trunk@3011 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 14:01:13 +00:00