aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more volatile stuffWarren Dukes2004-04-112-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add volatile qualifiers to some shared mem buffer stuff, to enusre compilerWarren Dukes2004-04-113-20/+20
| | | | | doesn't optimize out order sensitive stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up signal handling using a polling method, from the genius that is ↵Warren Dukes2004-04-1111-89/+110
| | | | | mackstann git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* we no longer need to block signals in tag.c, since update is now doneWarren Dukes2004-04-111-22/+0
| | | | | in a seperate process git-svn-id: https://svn.musicpd.org/mpd/trunk@696 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, fix some bug due to a child process dieing before the parent canWarren Dukes2004-04-113-6/+22
| | | | | even assign pid, thus we need to block CHLD signal around fork(); git-svn-id: https://svn.musicpd.org/mpd/trunk@694 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* incremental updates and command-list/update kung fuWarren Dukes2004-04-115-61/+217
| | | | | this needs some serious cleaning up and testing git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* more software volume tweeksWarren Dukes2004-04-111-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* adjust scaling of software volumeWarren Dukes2004-04-115-19/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* do while(wait3) for sighandlerWarren Dukes2004-04-111-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@680 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --disable-audio configure optionWarren Dukes2004-04-114-7/+19
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some snafoosWarren Dukes2004-04-113-4/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't stop playlist on finishPlaylist()[DWarren Dukes2004-04-111-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update job id stuffWarren Dukes2004-04-112-3/+13
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* updating_db in status and some ideas for the TODO that i've already forgottenWarren Dukes2004-04-113-0/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make "update" command background/non-blockingWarren Dukes2004-04-117-26/+111
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@665 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --only-create-db option from msellsWarren Dukes2004-04-116-5/+27
| | | | | have SIGHUP cause rereading db file git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* work in prep of using msells/sbh's non-blocking update methodWarren Dukes2004-04-102-8/+96
| | | | | | | Here, i've made readDirectoryDB detect when stuff is deleted, added and updated. So after a update, and we call redDirectoryDB, we update the db instead of just adding stuff w/o "updating" and "deleting" stuff as neccessary. git-svn-id: https://svn.musicpd.org/mpd/trunk@659 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ideas on how to make readDirectoryInfo and readSongInfo deal with alreadyWarren Dukes2004-04-102-0/+48
| | | | | | existing db stuff, and implement a new List function that will be very useful: insertInListBeforeNode() git-svn-id: https://svn.musicpd.org/mpd/trunk@657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't report an error about not able to open device in audioErrorWarren Dukes2004-04-071-1/+0
| | | | | also, update TODO with ideas about non-blocking update git-svn-id: https://svn.musicpd.org/mpd/trunk@632 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make default max playlist length be 16384. bumped up from 4096Warren Dukes2004-04-041-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* when converting from bps -> kbps, divide by 1000, not 1024Warren Dukes2004-04-036-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* use EXIT_SUCCESS and EXIT_FAILUREWarren Dukes2004-04-0215-87/+87
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* for alsa mixer default to Master element, not the first elementWarren Dukes2004-04-011-33/+25
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@583 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* move sys/types.h include in utils.c, so it works for FreeBSD, from MDRWarren Dukes2004-04-011-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@581 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* need to include utils.h for my_usleepWarren Dukes2004-04-011-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* use our own portable version of usleep using select()Warren Dukes2004-04-0111-23/+40
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@578 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* use 16-bit signed ints for storing positions in the ring bufferWarren Dukes2004-04-012-4/+9
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@576 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* lets cleanup some file type detection and not call stat() so muchWarren Dukes2004-03-314-60/+32
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix for loading playlists on platforms where char is unsigned (like PPC)Warren Dukes2004-03-311-1/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@560 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* cleanup reading from interface, when argArrayLength returned by buffer2arrayWarren Dukes2004-03-312-3/+19
| | | | | is 0, we weren't dealing with this well at all! git-svn-id: https://svn.musicpd.org/mpd/trunk@559 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* forgot a ;Warren Dukes2004-03-271-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@507 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just to be carfile, make sure to null terminate when using strncpyWarren Dukes2004-03-273-2/+19
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@506 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* close audio device on pause, after we say we have paused, makes pause seemWarren Dukes2004-03-262-9/+2
| | | | | more responsive git-svn-id: https://svn.musicpd.org/mpd/trunk@504 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* put backWarren Dukes2004-03-251-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@488 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* bsd seems to want sys/time.hWarren Dukes2004-03-251-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@487 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* minor fix ups for typesWarren Dukes2004-03-251-4/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@460 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix and detect differences between faad2 1.1 and 2.0Warren Dukes2004-03-253-14/+54
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* calculate song length more accuratelyWarren Dukes2004-03-241-1/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* bitRate support for audiofileWarren Dukes2004-03-242-3/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@443 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* tweek seeking for mp3'sWarren Dukes2004-03-241-4/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* strcasecmp for mixer_controlWarren Dukes2004-03-241-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@436 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* alsa volume fixesWarren Dukes2004-03-231-5/+11
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@421 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* volume fixesWarren Dukes2004-03-232-2/+22
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some gcc-2.95 errorsWarren Dukes2004-03-232-3/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@414 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix bug where accidently setting default mixer to NULL instead of SOFTWAREWarren Dukes2004-03-231-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@413 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a bug, due to not resetting decodeType in playerSeek when the file toWarren Dukes2004-03-233-65/+61
| | | | | seek isn't the same as the current playing file git-svn-id: https://svn.musicpd.org/mpd/trunk@409 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* oopsWarren Dukes2004-03-221-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix error reporting for mp4 filesWarren Dukes2004-03-223-19/+20
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@370 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* a few aac/mp4 minor fixesWarren Dukes2004-03-222-17/+33
| | | | | don't set audioFormat till decode first frame git-svn-id: https://svn.musicpd.org/mpd/trunk@359 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* print error messages for faad2Warren Dukes2004-03-222-0/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@358 09075e82-0dd4-0310-85a5-a0d7c8717e4f