Commit Graph

12113 Commits

Author SHA1 Message Date
Warren Dukes
09efb14dbb fix crossfading issue with ogg
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
2004-03-05 16:02:47 +00:00
Warren Dukes
8b214b7c8c fix a minor issue!
git-svn-id: https://svn.musicpd.org/mpd/trunk@205 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 14:39:51 +00:00
Warren Dukes
a8d3895e32 fix a booboo
git-svn-id: https://svn.musicpd.org/mpd/trunk@204 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:25:39 +00:00
Warren Dukes
1cf07bfa40 skip over all bad frames
git-svn-id: https://svn.musicpd.org/mpd/trunk@203 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:06:31 +00:00
Warren Dukes
170824db8c put it back the way it was
git-svn-id: https://svn.musicpd.org/mpd/trunk@202 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 13:01:58 +00:00
Warren Dukes
cc23d2e7e9 mute all frames that are "SKIP"'d
git-svn-id: https://svn.musicpd.org/mpd/trunk@201 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 12:59:29 +00:00
Warren Dukes
db82d2fc8c lets SKIP all recorable stream errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@200 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 12:48:57 +00:00
Warren Dukes
4e4faf6174 see if we can skip past tags
git-svn-id: https://svn.musicpd.org/mpd/trunk@199 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 01:29:08 +00:00
Warren Dukes
124854ff51 obotomize mixing a bit
git-svn-id: https://svn.musicpd.org/mpd/trunk@198 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-05 00:19:02 +00:00
Warren Dukes
92692c0249 cleanup a few errors when compiling libmad and libid3tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@197 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 23:29:20 +00:00
Warren Dukes
e2d2baece9 update to 0.15.1 of libmad and libid3tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@196 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 23:19:57 +00:00
Warren Dukes
7be523c015 clean up a bit
git-svn-id: https://svn.musicpd.org/mpd/trunk@195 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 20:50:32 +00:00
Warren Dukes
4893e94dae git-svn-id: https://svn.musicpd.org/mpd/trunk@194 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-04 20:45:49 +00:00
Warren Dukes
0d22fa6e64 ok, don't use AC_CHECK_LIBM, just use my own homebrewed version
git-svn-id: https://svn.musicpd.org/mpd/trunk@192 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:17:14 +00:00
Warren Dukes
0a79b8a808 use AC_CHECK_LIBM instead
git-svn-id: https://svn.musicpd.org/mpd/trunk@191 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:09:48 +00:00
Warren Dukes
afa0cd7883 check to see if we need -lm
git-svn-id: https://svn.musicpd.org/mpd/trunk@190 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 17:57:55 +00:00
Warren Dukes
ac2be01374 fix gcc-2.95 compilation errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@172 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 00:01:43 +00:00
Warren Dukes
4aec92fd6e rewrite error message for wrong number of config args
git-svn-id: https://svn.musicpd.org/mpd/trunk@171 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 20:55:00 +00:00
Warren Dukes
1a50453541 password, not passwd, in examples
git-svn-id: https://svn.musicpd.org/mpd/trunk@170 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 20:33:12 +00:00
Warren Dukes
0f4f4fd3db git-svn-id: https://svn.musicpd.org/mpd/trunk@168 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-03-02 18:50:15 +00:00
Warren Dukes
afbae2e6a4 don't use automake-1.8
git-svn-id: https://svn.musicpd.org/mpd/trunk@154 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 13:12:20 +00:00
Warren Dukes
4904e64ff1 autogen.sh runs configure now
git-svn-id: https://svn.musicpd.org/mpd/trunk@152 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-02 12:43:28 +00:00
Warren Dukes
d114e1fdd6 update with additional oss volume bug fix
git-svn-id: https://svn.musicpd.org/mpd/trunk@130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 13:49:38 +00:00
Warren Dukes
ce2c6845a2 memset erroredFile to 0
git-svn-id: https://svn.musicpd.org/mpd/trunk@127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 03:35:52 +00:00
Warren Dukes
e742f2be2c fix a typecast
git-svn-id: https://svn.musicpd.org/mpd/trunk@126 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-01 03:34:01 +00:00
Warren Dukes
f515692aa9 fix a bug where getting OS Mixer volume may fail, and we were closing
the fd, but didn't mark anything indicated the fd was close, so chaos
ensued.  Here, we just remove the close() statement and assume it was
just a fluke!!

git-svn-id: https://svn.musicpd.org/mpd/trunk@125 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-29 08:37:21 +00:00
Warren Dukes
41b63bbe47 fix a stupid bug where i was storing the decode_pid directorly from fork()
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
2004-02-29 08:10:52 +00:00
Warren Dukes
cfd0e18dc4 fix some errors with short and long
git-svn-id: https://svn.musicpd.org/mpd/trunk@117 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-28 14:38:55 +00:00
Warren Dukes
fe9f236b4f update
git-svn-id: https://svn.musicpd.org/mpd/trunk@110 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:57:44 +00:00
Warren Dukes
821355361c audio cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@109 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:13:26 +00:00
Warren Dukes
5622edbc98 cleanup audio code some
git-svn-id: https://svn.musicpd.org/mpd/trunk@108 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 23:05:56 +00:00
Warren Dukes
8b19235b61 put decode_pid in shared mem, so if player process dies, the master
can still kill the decode process.

git-svn-id: https://svn.musicpd.org/mpd/trunk@107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 22:25:06 +00:00
Warren Dukes
ad4246d6cb add db_playtime to stats
git-svn-id: https://svn.musicpd.org/mpd/trunk@99 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 15:40:54 +00:00
Warren Dukes
79effd62e1 display db_playtime in stats
git-svn-id: https://svn.musicpd.org/mpd/trunk@98 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 15:39:19 +00:00
Warren Dukes
a78c5e4aea crossfade should always be displayed in status
git-svn-id: https://svn.musicpd.org/mpd/trunk@77 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 01:38:18 +00:00
Warren Dukes
542becf344 update docs with changes to status and crossfade
git-svn-id: https://svn.musicpd.org/mpd/trunk@76 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 01:37:17 +00:00
Warren Dukes
9b1c550597 add xfade and audio to status, remove crossfade no args options
git-svn-id: https://svn.musicpd.org/mpd/trunk@75 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-27 01:35:23 +00:00
Warren Dukes
ce1d377d69 update listall and listallinfo commands
git-svn-id: https://svn.musicpd.org/mpd/trunk@65 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-26 03:48:59 +00:00
Warren Dukes
5262a06659 update changelog for 0.10.0
update add command info to include dir support
update mpd.1 and conf example to include ~ support

git-svn-id: https://svn.musicpd.org/mpd/trunk@64 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-26 03:36:04 +00:00
Warren Dukes
1adca2abd2 add bitrate reporting to flac
git-svn-id: https://svn.musicpd.org/mpd/trunk@63 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-26 03:21:24 +00:00
Warren Dukes
9d4bc4efea finally found the segfault, it occurs with random and repeat on,
in queueNextSong() was doing randomizeOrder(0,playlist.length)
instead of playlist.length-1

git-svn-id: https://svn.musicpd.org/mpd/trunk@61 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 22:00:21 +00:00
Warren Dukes
8edc416344 some more cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@60 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 21:10:56 +00:00
Warren Dukes
e1c839cd56 cleanup logging, need to be careful with SECURE and DEBUG
git-svn-id: https://svn.musicpd.org/mpd/trunk@58 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 19:13:10 +00:00
Warren Dukes
483d8873bd few cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@57 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 18:56:12 +00:00
Warren Dukes
e4f265b2fc be more careful with string manipulations, use strncpy as much as possible
git-svn-id: https://svn.musicpd.org/mpd/trunk@56 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 18:46:41 +00:00
Warren Dukes
ca3068d411 a few more cleanups, use memcpy instead of strncpy
git-svn-id: https://svn.musicpd.org/mpd/trunk@55 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 18:42:47 +00:00
Warren Dukes
1e9b166574 some cleanups for utf8 in playerSeek and using strncpy for copying filenames
git-svn-id: https://svn.musicpd.org/mpd/trunk@54 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 18:29:39 +00:00
Warren Dukes
46c66a2a3e a few cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@53 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 17:53:48 +00:00
Warren Dukes
1ff1230680 update TODO
git-svn-id: https://svn.musicpd.org/mpd/trunk@51 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 13:55:47 +00:00
Warren Dukes
c10807c276 use "$@" instead of "$*"
git-svn-id: https://svn.musicpd.org/mpd/trunk@48 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-25 04:53:30 +00:00