- 07 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 Feb, 2012 1 commit
-
-
Max Kellermann authored
-
- 13 Sep, 2011 1 commit
-
-
Max Kellermann authored
This is specific to gcc, not to mpd.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 30 Jun, 2010 1 commit
-
-
Max Kellermann authored
Convert a string into a tag_type enum.
-
- 17 Mar, 2010 1 commit
-
-
Max Kellermann authored
Like tag_merge(), but can deal with NULL parameters, and frees both tag objects.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 04 Nov, 2009 1 commit
-
-
Max Kellermann authored
Convert a string into a tag_type enum.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 09 Jul, 2009 1 commit
-
-
Bart Nagel authored
-
- 07 Jul, 2009 1 commit
-
-
Max Kellermann authored
The tag_id3.c library supports both the documented "TSO2" tag, and the inofficial TXXX/ALBUMARTISTSORT. The Vorbis/FLAC decoder automatically supports the new tag, without further change.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
-
- 28 Feb, 2009 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
-
- 27 Feb, 2009 3 commits
-
-
Max Kellermann authored
There's no point in declaring num_items as a uint8_t, it doesn't save any space, due to padding. This allows us to lift the articial "255 items" limitation.
-
Max Kellermann authored
Renamed numOfItems to num_items.
-
Max Kellermann authored
-
- 24 Jan, 2009 1 commit
-
-
Max Kellermann authored
Added all important id tags from the MusicBrainz wiki: http://musicbrainz.org/doc/MusicBrainzTag This should automatically enable its suport in the vorbis and flac decoder plugins.
-
- 15 Jan, 2009 1 commit
-
-
Max Kellermann authored
tag_is_defined() checks whether there is any information in the tag object.
-
- 14 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2009 1 commit
-
-
Max Kellermann authored
Added TAG_ITEM_ALBUM_ARTIST. With this patch, MPD should be able to read the (inofficial) "ALBUMARTIST" Vorbis comment. Implementations in other decoder plugins will follow soon.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
tag_merges() merges the data from two tag objects into one.
-
- 04 Nov, 2008 1 commit
-
-
Max Kellermann authored
-
- 03 Nov, 2008 1 commit
-
-
Max Kellermann authored
tag_has_type() checks whether the tag contains one or more items with the specified type.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
-
- 13 Oct, 2008 1 commit
-
-
Eric Wong authored
Not all compilers support struct packing, and those that don't shouldn't be punished for it.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 29 Sep, 2008 2 commits
-
-
Max Kellermann authored
Since we use a C99 compiler now, we can assert that the C99 standard headers are available, no need for complicated compile time checks. Kill mpd_types.h.
-
Eric Wong authored
Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the mind needs to retrain itself to skip over the first 4 tokens of a type to get to its meaning. So avoid having extra characters on my terminal to make it easier to follow code at 2:30 am in the morning. Please report any new issues you may come across on Free toolchains. I realize how difficult it can be to build/maintain cross-compiling toolchains and I have no intention of forcing people to upgrade their toolchains to build mpd. Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
-
- 07 Sep, 2008 1 commit
-
-
Max Kellermann authored
Move everything which dumps a tag to a file descriptor to tag_print.c. This relaxes dependencies and splits the code into smaller parts.
-
- 29 Aug, 2008 8 commits
-
-
Max Kellermann authored
Yet another patch which converts pointer arguments to "const".
-
Max Kellermann authored
If many tag_items are added at once while the tag cache is being loaded, manage these items in a static fixed list, instead of reallocating the list with every newly created item. This reduces heap fragmentation. Massif results again: mk before: total 12,837,632; useful 10,626,383; extra 2,211,249 mk now: total 12,736,720; useful 10,626,383; extra 2,110,337 The "useful" value is the same since this patch only changes the way we allocate the same amount of memory, but heap fragmentation was reduced by 5%.
-
Max Kellermann authored
The new source tag_pool.c manages a pool of reference counted tag_item objects. This is used to merge tag items of the same type and value, saving lots of memory. Formerly, only the value itself was pooled, wasting memory for all the pointers and tag_item structs. The following results were measured with massif. Started MPD on amd64, typed "mpc", no song being played. My music database contains 35k tagged songs. The results are what massif reports as "peak". 0.13.2: total 14,131,392; useful 11,408,972; extra 2,722,420 eric: total 18,370,696; useful 15,648,182; extra 2,722,514 mk f34f694e: total 15,833,952; useful 13,111,470; extra 2,722,482 mk now: total 12,837,632; useful 10,626,383; extra 2,211,249 This patch set saves 20% memory, and does a good job in reducing heap fragmentation.
-
Max Kellermann authored
The value is stored in the same memory allocation as the tag_item struct; this saves memory because we do not store the value pointer anymore. Also remove the getTagItemString()/removeTagItemString() dummies.
-
Max Kellermann authored
This prepares the following patches, which aim to reduce MPD's memory usage: we plan to share tag_item instances, instead of just their values.
-
Max Kellermann authored
The ID3 code uses only the public tag API, but is otherwise unrelated. Move it to a separate source file.
-
Max Kellermann authored
-
Max Kellermann authored
-