aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* more bug fixesWarren Dukes2004-05-201-9/+11
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1108 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ogg stream playing! some non-blocking seek bug fixesWarren Dukes2004-05-201-32/+54
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1105 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up sleep times to be all 10msWarren Dukes2004-05-201-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1102 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* get rid of seekError in DecoderControlWarren Dukes2004-05-201-8/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1101 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some fixes for non-blocking seek :-)Warren Dukes2004-05-201-1/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1100 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* non-blocking seeking, needs some testing! (this is not just for streamsWarren Dukes2004-05-191-8/+14
| | | | | but new code for files seeking as well) git-svn-id: https://svn.musicpd.org/mpd/trunk@1099 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* forgot to mark in decoderControl when we are seekable!Warren Dukes2004-05-191-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1093 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* bug fixy poo s/1/0/Warren Dukes2004-05-191-2/+2
| | | | | and mark in decoderControl if we are seekable git-svn-id: https://svn.musicpd.org/mpd/trunk@1078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* try to make seeking more non-blockingWarren Dukes2004-05-191-191/+222
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1076 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* nother little minor fixWarren Dukes2004-05-181-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1071 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* streaming fixes and such, now it seems to work good, what an annoying bugWarren Dukes2004-05-181-4/+11
| | | | | to find git-svn-id: https://svn.musicpd.org/mpd/trunk@1066 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a mem leak when unknow type in decodeStart()Warren Dukes2004-05-181-2/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1063 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* rework stuff so that we can use mime-type of streams to detect type of fileWarren Dukes2004-05-181-46/+83
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1062 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some more work on organizing code for resampling/audioFormat conversionWarren Dukes2004-05-101-31/+26
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@968 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* stuff for configuring the audio output format (sampling rate, channels, bits)Warren Dukes2004-05-101-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@967 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* new OutputBuffer abstraction stuff, implemented for mp3, now need toWarren Dukes2004-05-071-4/+4
| | | | | implement in other decoders git-svn-id: https://svn.musicpd.org/mpd/trunk@940 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ummm, undo last changes, they shouldn't need to be neccessaryWarren Dukes2004-04-171-3/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* close audio() and audioDriver() on decode process forkWarren Dukes2004-04-171-0/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* log cycling and a few cleanupsWarren Dukes2004-04-151-0/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add vim shiznit to end of all source filesWarren Dukes2004-04-141-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* volatile fun-nessWarren Dukes2004-04-121-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add volatile qualifiers to some shared mem buffer stuff, to enusre compilerWarren Dukes2004-04-111-1/+1
| | | | | 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-111-3/+4
| | | | | mackstann git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, fix some bug due to a child process dieing before the parent canWarren Dukes2004-04-111-1/+8
| | | | | 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
* use EXIT_SUCCESS and EXIT_FAILUREWarren Dukes2004-04-021-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* use our own portable version of usleep using select()Warren Dukes2004-04-011-8/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@578 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-271-0/+8
| | | 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-261-4/+2
| | | | | more responsive git-svn-id: https://svn.musicpd.org/mpd/trunk@504 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a bug, due to not resetting decodeType in playerSeek when the file toWarren Dukes2004-03-231-2/+3
| | | | | 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-221-10/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@370 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* aac decoding!Warren Dukes2004-03-221-2/+6
| | | | | | | | 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
* close audio device on pauseWarren Dukes2004-03-201-8/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@329 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* seek support for mp4/aacWarren Dukes2004-03-181-3/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make all sleeps at least 1 msWarren Dukes2004-03-181-4/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* mp4/aac cleanupsWarren Dukes2004-03-181-0/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make some usleeps longer, just to try to stave off busy waitingWarren Dukes2004-03-061-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@219 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix crossfading issue with oggWarren Dukes2004-03-051-6/+3
| | | | | | | problem was, ov_read doesn't always fill to CHUNK_SIZE and we were moving chunk on every ov_read, instead now we only dump the buffer when its full git-svn-id: https://svn.musicpd.org/mpd/trunk@206 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* see if we can skip past tagsWarren Dukes2004-03-051-4/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@199 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix gcc-2.95 compilation errorsWarren Dukes2004-03-031-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@172 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a stupid bug where i was storing the decode_pid directorly from fork()Warren Dukes2004-02-291-3/+6
| | | | | | call, and since decode_pid is shared now, it may get assigned zero after the parent assigns it the true pid, not good!! git-svn-id: https://svn.musicpd.org/mpd/trunk@124 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* audio cleanupsWarren Dukes2004-02-271-3/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@109 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* put decode_pid in shared mem, so if player process dies, the masterWarren Dukes2004-02-271-17/+22
| | | | | can still kill the decode process. git-svn-id: https://svn.musicpd.org/mpd/trunk@107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add xfade and audio to status, remove crossfade no args optionsWarren Dukes2004-02-271-0/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@75 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some more cleanupsWarren Dukes2004-02-251-10/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@60 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* be more careful with string manipulations, use strncpy as much as possibleWarren Dukes2004-02-251-4/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@56 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* a few cleanupsWarren Dukes2004-02-251-2/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@53 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* import from SF CVSWarren Dukes2004-02-231-0/+456
git-svn-id: https://svn.musicpd.org/mpd/trunk@1 09075e82-0dd4-0310-85a5-a0d7c8717e4f