Commit Graph

3448 Commits

Author SHA1 Message Date
Warren Dukes 69a0b86173 trash XMMS resampling, use ESD's instead, don't understand it, but it works
git-svn-id: https://svn.musicpd.org/mpd/trunk@979 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 22:31:23 +00:00
Warren Dukes 33d112499d some debug code
git-svn-id: https://svn.musicpd.org/mpd/trunk@978 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 20:49:35 +00:00
Warren Dukes 76af5b2f90 ???
git-svn-id: https://svn.musicpd.org/mpd/trunk@977 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:54:32 +00:00
Warren Dukes be5bfc35fd some fixes for ogg_decode
git-svn-id: https://svn.musicpd.org/mpd/trunk@976 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:41:27 +00:00
Warren Dukes 85f2ce820f fix a bug in channel conversion
git-svn-id: https://svn.musicpd.org/mpd/trunk@975 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 19:30:56 +00:00
Warren Dukes 5b4a0a1821 fix computation of conversion buffer size
git-svn-id: https://svn.musicpd.org/mpd/trunk@974 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 17:15:04 +00:00
Warren Dukes 4f76ba5a42 format conversion for 8->16 bis and mono->stereo
git-svn-id: https://svn.musicpd.org/mpd/trunk@973 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 17:08:46 +00:00
Warren Dukes 872af20777 resampling code blatantly ripped from xmms, needs testing and need to
right conversion routines for bit conversion and channel conversion

git-svn-id: https://svn.musicpd.org/mpd/trunk@971 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 15:21:40 +00:00
Warren Dukes 7626d9a547 more little bits of code in prep for resample/audioFormat conversion,
now to just write the actual audioFormat conversion code!

git-svn-id: https://svn.musicpd.org/mpd/trunk@970 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 14:06:23 +00:00
Warren Dukes 9dd098f09b use memcpy for isCurrentAudioFormat()
git-svn-id: https://svn.musicpd.org/mpd/trunk@969 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 13:37:48 +00:00
Warren Dukes 2ec1c5ff3c some more work on organizing code for resampling/audioFormat conversion
git-svn-id: https://svn.musicpd.org/mpd/trunk@968 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 12:35:18 +00:00
Warren Dukes cd3180c701 stuff for configuring the audio output format (sampling rate, channels, bits)
git-svn-id: https://svn.musicpd.org/mpd/trunk@967 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-10 02:20:15 +00:00
Warren Dukes 9edafa886b add aliasMrJones to various places
git-svn-id: https://svn.musicpd.org/mpd/trunk@954 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-08 12:04:23 +00:00
Warren Dukes 822be0375e finish adding AliasMrJones replayGain stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@953 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-08 12:00:30 +00:00
Warren Dukes 04fdc209d9 add replayGain stuff for flac from AliasMrJones
git-svn-id: https://svn.musicpd.org/mpd/trunk@943 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 22:42:54 +00:00
Warren Dukes ff3323334a implement new outputBuffering stuff for rest of decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@942 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 19:35:39 +00:00
Warren Dukes c9f0d22f0a rewrite outputBuffer'ing abstraction a bit to be more effecient and easier
to interface.  Also, use outputBuffer abstraction for ogg

git-svn-id: https://svn.musicpd.org/mpd/trunk@941 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 19:11:43 +00:00
Warren Dukes 3794126e56 new OutputBuffer abstraction stuff, implemented for mp3, now need to
implement in other decoders

git-svn-id: https://svn.musicpd.org/mpd/trunk@940 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 15:58:04 +00:00
Warren Dukes 9196023f14 some begging code of abstracting out some simple buffer routine(s) for decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@928 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07 02:42:49 +00:00
Warren Dukes f5075e1b11 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-06 18:59:40 +00:00
Warren Dukes ef9f832fb3 mp4/aac now use InputStream
git-svn-id: https://svn.musicpd.org/mpd/trunk@925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-06 18:49:04 +00:00
Warren Dukes 9ca135d723 fix bug #223
git-svn-id: https://svn.musicpd.org/mpd/trunk@924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-06 13:43:09 +00:00
Warren Dukes 230750e23e vim stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@915 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-05 18:30:07 +00:00
Warren Dukes 13a3b507f2 clarify error for --no-create-db
git-svn-id: https://svn.musicpd.org/mpd/trunk@912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-05 15:01:34 +00:00
Warren Dukes c4a9e3790f flac uses abstracted inputStream stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@905 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 23:39:02 +00:00
Warren Dukes 659df58671 implement input abstraction for ogg and mp3
git-svn-id: https://svn.musicpd.org/mpd/trunk@904 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:49:29 +00:00
Warren Dukes 638817fc5b start abstracting input layer for decoders
git-svn-id: https://svn.musicpd.org/mpd/trunk@903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-04 19:08:46 +00:00
Warren Dukes 37db643217 clean-up a wee-bit of code
git-svn-id: https://svn.musicpd.org/mpd/trunk@895 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-29 19:34:30 +00:00
Warren Dukes 22058b9b61 potential fix for CompBrain's segfault, i could test it if he ever gave me
a broken flac file

git-svn-id: https://svn.musicpd.org/mpd/trunk@877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22 21:14:41 +00:00
Warren Dukes 4cfa17c860 can search bye filename
git-svn-id: https://svn.musicpd.org/mpd/trunk@839 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19 22:50:13 +00:00
Warren Dukes 955428b8a2 don't expose functions in utf8.h that don't need it
git-svn-id: https://svn.musicpd.org/mpd/trunk@812 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 17:42:57 +00:00
Warren Dukes 2cfea8a8bf ummm, undo last changes, they shouldn't need to be neccessary
git-svn-id: https://svn.musicpd.org/mpd/trunk@811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:43:44 +00:00
Warren Dukes 4196886e93 close audio() and audioDriver() on decode process fork
git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17 12:36:15 +00:00
Warren Dukes 158c23f238 when updating, don't cause db reread on adding and then removing empty directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 23:49:48 +00:00
Warren Dukes 4a1fbb45c5 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@796 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 17:17:53 +00:00
Warren Dukes a7076a120b some cleanups of sprintf's => snprintf's
git-svn-id: https://svn.musicpd.org/mpd/trunk@794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 15:01:06 +00:00
Warren Dukes a5d6f1868e todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@793 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 13:59:35 +00:00
Warren Dukes ef439d446b todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@792 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 13:55:01 +00:00
Warren Dukes 76e11b474b todo updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@791 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 12:16:54 +00:00
Warren Dukes 3a5bbf54b4 update playlistinfo documenation
git-svn-id: https://svn.musicpd.org/mpd/trunk@790 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 04:20:28 +00:00
Warren Dukes fe52847ad6 fix bug in prependCwdToPathDup()
git-svn-id: https://svn.musicpd.org/mpd/trunk@789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 03:52:17 +00:00
Warren Dukes 13f3794d09 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@784 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 01:17:35 +00:00
Warren Dukes 963754b0d4 msells versions patch to list supported formats
git-svn-id: https://svn.musicpd.org/mpd/trunk@783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 01:06:14 +00:00
Warren Dukes da588cbc46 *gasp* added a comment
git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:50:33 +00:00
Warren Dukes c4d2b8dc1c only write db in initMp3Directory() when stuff is updated
git-svn-id: https://svn.musicpd.org/mpd/trunk@781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:48:47 +00:00
Warren Dukes 2e420db19c remove directory mtime from db!
also, only reReadDB and write DB on update if something was actually updated

git-svn-id: https://svn.musicpd.org/mpd/trunk@780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16 00:41:56 +00:00
Warren Dukes 5ea8e2d65b don't stat() the db to get the modtime everytime, instead store it when we read the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@779 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 23:36:41 +00:00
Warren Dukes be3e2f08c9 todo udpates
git-svn-id: https://svn.musicpd.org/mpd/trunk@778 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 20:15:41 +00:00
Warren Dukes 3ea87a52c6 round crossfade for status
git-svn-id: https://svn.musicpd.org/mpd/trunk@775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 16:16:19 +00:00
Warren Dukes 0b7d9b2dec no point in tallying stats on writeDirectoryDB anymore
git-svn-id: https://svn.musicpd.org/mpd/trunk@774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15 15:25:06 +00:00