aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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