aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* implement acc-raw decoding, no seeking for aacWarren Dukes2004-03-221-62/+60
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@357 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* aac decoding!Warren Dukes2004-03-2210-119/+71
| | | | | | | | need to work on seeking for AAC also, don't reset cb->begin on seek to 0, instead just set cb->end=cb->begin, works much better for disabling seeking (like ADIF AAC's) git-svn-id: https://svn.musicpd.org/mpd/trunk@356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add aac_decode.[ch] and start working on itWarren Dukes2004-03-218-192/+544
| | | | | also, if locale is C or POSIX, set fs charset to iso-8859-1 git-svn-id: https://svn.musicpd.org/mpd/trunk@347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* parse length from Aac files and ID3 tagsWarren Dukes2004-03-215-1/+83
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* begin parsing work on AAC info parsingWarren Dukes2004-03-211-1/+105
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* more faad autoconf checksWarren Dukes2004-03-211-2/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some simple compilation fixWarren Dukes2004-03-211-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@341 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix for iconvWarren Dukes2004-03-211-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* streamline ls.c codeWarren Dukes2004-03-213-159/+82
| | | | | remove dontUpSampleSBR, not in faad2 rc3 git-svn-id: https://svn.musicpd.org/mpd/trunk@330 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* close audio device on pauseWarren Dukes2004-03-204-22/+24
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@329 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* i don't think we need to swap byte order for flac eitherWarren Dukes2004-03-201-3/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@328 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* illiminated all endianness codeWarren Dukes2004-03-201-11/+12
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@327 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* git-svn-id: https://svn.musicpd.org/mpd/trunk@326 ↵Warren Dukes2004-03-201-6/+12
| | | | 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* average bitrate for mp4'sWarren Dukes2004-03-203-2/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* git-svn-id: https://svn.musicpd.org/mpd/trunk@319 ↵Warren Dukes2004-03-201-4/+12
| | | | 09075e82-0dd4-0310-85a5-a0d7c8717e4f