aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rewrite statefile code for audio devicesEric Wong2006-03-183-108/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the words of the original author, it was 'crappy'. I tend to agree :) The code has also been broken for at least the past few months, and nobody bothered fixing it The previous format it was overly complex: 5 lines to describe each device. The new format is one-line per-device: audio_device_state:%d:%s %d - 0 for disabled, any integer for enabled %s - name of the device as specified in the config file, whitespace and all Incompatibilities: * Output names are now _required_ to be unique. This is required because the new format relies solely on the name of the audio device. Relying on the device IDs internal to MPD was a bad idea anyways since the user usually has none or very little idea how they're generated, and adding a new device or removing one from a config would throw things off completely. This is also just a Good Idea(TM) because it makes things less confusing to users when they see it in their clients. * Output states are not preserved from the previous format. Not a big deal, since the previous code was never officially released. Also, it's been broken for months now, so I doubt anybody would notice :) git-svn-id: https://svn.musicpd.org/mpd/trunk@3928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ls.c: remove unnecessary strdupEric Wong2006-03-181-2/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3927 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* merge with mpd/trunk up to r3925Eric Wong2006-03-1625-353/+1200
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some uninitialized variables (found by valgrind)Eric Wong2006-03-162-0/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* command.c: remove unnecessary strdup()Eric Wong2006-03-161-5/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Hopefully the last of the spelling fixes :>Eric Wong2006-03-164-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3923 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* conf.c: correctly parse "~username/file" in config filesEric Wong2006-03-161-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3922 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* inputStream_http.c: speling fikcsesEric Wong2006-03-151-4/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3921 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* conf.c: speling ficksesEric Wong2006-03-151-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3920 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix bug 544Warren Dukes2006-01-251-11/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3859 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix for mp3 replaygaineQball Cow2006-01-211-4/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3852 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix title->track in config file replaygain exampleQball Cow2006-01-141-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3827 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Replay gain for mp3. (Patch cleaned up and provided by Jat)Qball Cow2006-01-141-18/+70
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3826 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix addid crash ( found by qball )Warren Dukes2006-01-071-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* flac_plugin: revert the performance optimization we did a while agoEric Wong2005-12-311-23/+19
| | | | | | | | the performance optimization was broken for big-endian architectures. mpd-uclinux is doing using a slightly different optimization to flacWrite() that we may end up using here in the future. git-svn-id: https://svn.musicpd.org/mpd/trunk@3753 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* r1067@BL4ST: normalperson | 2005-12-30 19:21:28 -0800Eric Wong2005-12-312-0/+2
| | | | | Fix a couple of warnings (sbh, from oggflac branch) git-svn-id: https://svn.musicpd.org/mpd/trunk@3752 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* call dropBufferedAudio() when pausingWarren Dukes2005-12-171-1/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3732 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Configure fix, so when no glib found it gives a error, and another race ↵Qball Cow2005-12-142-2/+2
| | | | | condition fix in the master proces patch. git-svn-id: https://svn.musicpd.org/mpd/trunk@3730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* potential fix for bug #466Warren Dukes2005-12-121-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3726 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* optimize away a boatload of strdups during updateEric Wong2005-12-051-4/+11
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* remove C++ style commentsEric Wong2005-11-199-36/+41
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* gcc 2.95 fixesEric Wong2005-11-195-6/+9
| | | | | | | | | | audioOutput_osx.c, aac_decode.c, mp4_decode.c have NOT been thoroughly checked, but I nevertheless managed to eyeball and fix one incompatibility in audioOutput_osx.c All other files have been build successfully with gcc 2.95 git-svn-id: https://svn.musicpd.org/mpd/trunk@3688 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* DJWLindenaar's fix race condition and some memory leaks patchQball Cow2005-11-187-8/+44
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* DJWLindenaar balanced tree and master process patchQball Cow2005-11-1613-115/+288
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* debug messages no longer cause segfaults :PEric Wong2005-10-252-6/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3553 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Ticho's configure.ac patchQball Cow2005-10-071-19/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3506 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fixed (tested in Fink and DarwinPorts) osX output pluginQball Cow2005-10-021-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Forgot commit message, Added extra debug output when scanning director ↵Qball Cow2005-09-081-0/+1
| | | | | sturcture for files, it's a rough first attemped and the messages need to be a bit unified, also it might be overkill here and there git-svn-id: https://svn.musicpd.org/mpd/trunk@3478 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Patch to make the configure flag for mpd-mad and mpd-libid3tag more logic ↵Qball Cow2005-09-0812-15/+84
| | | | | (from ticho) git-svn-id: https://svn.musicpd.org/mpd/trunk@3477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* forgot to print a strerrorWarren Dukes2005-09-031-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* disable shout if tremor is used because tremor is only an encoderEric Wong2005-08-261-1/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3454 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* patch for using Tremor to decode Ogg-VorbisEric Wong2005-08-252-4/+73
| | | | | | | | * autotools support is included, the floating point Vorbis decoder remains the default. * close bug #353 * Thanks to Hannes Reich for the patch git-svn-id: https://svn.musicpd.org/mpd/trunk@3453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo updateWarren Dukes2005-08-252-1/+16
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3452 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Saving state of output-device in state-file. (This is a temporary solution, ↵Qball Cow2005-08-234-0/+143
| | | | | rewrite of state-file is planned for 0.13) git-svn-id: https://svn.musicpd.org/mpd/trunk@3449 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* "&", not "&&" (the bug itself was harmless, but a bug nevertheless)Eric Wong2005-08-201-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* change a break; to a return statementWarren Dukes2005-08-181-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* restore compat.cWarren Dukes2005-08-181-0/+503
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3443 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* attempt to fix an issue discoverred by jat with sending two close commands ↵Warren Dukes2005-08-182-503/+5
| | | | | back to back will cause an assert to fail git-svn-id: https://svn.musicpd.org/mpd/trunk@3442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* patch from Oliver Logghe for Hauppage Media MVP supportWarren Dukes2005-08-113-0/+299
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3432 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fix AddId handler, It tried to add the first argument instead of the 2nd. ↵Qball Cow2005-08-071-1/+1
| | | | | Resulting it tries to add "addid" git-svn-id: https://svn.musicpd.org/mpd/trunk@3427 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix warning reported gcc 4.0: x == y == z does not work as intendedEric Wong2005-08-071-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fix musepack bitrate displayEric Wong2005-08-071-3/+4
| | | | | Thanks to Paul Seropian (paranoos) git-svn-id: https://svn.musicpd.org/mpd/trunk@3421 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* --enable-ao enables ao, doesn't disable ao supportWarren Dukes2005-08-021-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3412 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* remove unnecessary apostropheEric Wong2005-07-311-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update musepack decoding code to use the newer mpcdec libraryEric Wong2005-07-302-21/+21
| | | | | | libmusepack is deprecated git-svn-id: https://svn.musicpd.org/mpd/trunk@3408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't check errno unless we have an error (ret<0) from write()Eric Wong2005-07-031-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3382 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* actually disable shout if ogg-vorbis is disabled, instead of justEric Wong2005-06-301-0/+1
| | | | | warning and not doing anything about it git-svn-id: https://svn.musicpd.org/mpd/trunk@3381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some typo's reported by jatWarren Dukes2005-06-171-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3363 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't require format parameter for audio_output optionsWarren Dukes2005-06-051-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3318 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* forgot to parse the format string of audio_output'sWarren Dukes2005-05-291-11/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@3296 09075e82-0dd4-0310-85a5-a0d7c8717e4f