aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/FlacMetadata.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-09-24decoder/flac: pass VorbisComment to flac_parse_mixramp()Max Kellermann1-1/+1
2014-09-24decoder/flac: pass VorbisComment to flac_parse_replay_gain()Max Kellermann1-1/+1
2014-08-29TagHandler: pass SongTime to duration()Max Kellermann1-9/+0
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-0/+0
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-08tag/TagBuilder: overload Commit() returning a Tag objectMax Kellermann1-3/+2
2013-11-28include cleanup using iwyuMax Kellermann1-3/+3
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann1-3/+4
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann1-2/+2
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-2/+2
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-07-31Tag: add method Clear()Max Kellermann1-1/+1
Allow reusing Tag instances.
2013-07-30tag: convert to C++Max Kellermann1-2/+2
2013-05-06decoder/FLAC*: rename files and symbols to Flac*Denis Krjuchkov1-7/+7
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann1-1/+0
The "bool" type is built-in.
2012-10-04decoder/flac: support FLAC files inside archivesMax Kellermann1-0/+21
Implement the "scan_stream" method that can read tags from any input_stream object. This requires a FLAC__IOCallbacks implementation based on the input_stream API.
2012-10-04decoder/flac: move flac_scan_file2() to main plugin fileMax Kellermann1-4/+0
2012-10-02decoder/flac: add method FLACMetadataChain::Scan()Max Kellermann1-0/+2
Merge common code.
2012-10-02decoder/flac: add C++ libFLAC wrappersMax Kellermann1-1/+63
Not using libFLAC++ because this library adds a lot of overhead due to virtual method calls. This new class library is zero-overhead.
2012-10-02decoder/flac: eliminate the obsolete "track number" codeMax Kellermann1-4/+3
This has been deprecated by the "embcue" playlist plugin.
2012-10-02decoder/flac: remove unused function flac_tag_load()Max Kellermann1-3/+0
2012-10-02decoder/flac: use C++ compilerMax Kellermann1-1/+1
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-2/+8
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2011-07-03decoder/flac: validate the sample rate when scanning the tagMax Kellermann1-0/+3
Don't calculate the song duration when the sample rate is 0 (division by zero crash).
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-03-21Add support for MixRamp tagsTim Phipps1-0/+4
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
2010-02-17replay_gain_info: allocate the struct staticallyMax Kellermann1-2/+5
Don't allocate each replay_gain_info object on the heap. Those objects who held a pointer now store a full replay_gain_info object. This reduces the number of allocations and heap fragmentation.
2010-01-06decoder/flac: moved flac_tag_load() to flac_metadata.cMax Kellermann1-0/+3
Make this code is reusable.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-11decoder/flac: moved code to flac_metadata.cMax Kellermann1-17/+17
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
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.
2009-01-08added missing explicit config.h includesMax Kellermann1-1/+1
2008-11-24tag_id3.h: replaced mpd_unused by G_GNUC_UNUSEDThomas Jansen1-2/+2
2008-10-17Makefile.am: don't compile disabled sourcesMax Kellermann1-1/+12
If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
2008-08-29const pointersMax Kellermann1-1/+1
Yet another patch which converts pointer arguments to "const".
2008-08-29tag: moved code to tag_id3.cMax Kellermann1-4/+11
The ID3 code uses only the public tag API, but is otherwise unrelated. Move it to a separate source file.
2008-04-12clean up CPP includesMax Kellermann1-2/+0
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-02-05fix -Wconst warningsMax Kellermann1-2/+2
[ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-12-28Merge branches/ew r7104Eric Wong1-1/+1
thread-safety work in preparation for rewrite to use pthreads Expect no regressions against trunk (r7078), possibly minor performance improvements in update (due to fewer heap allocations), but increased stack usage. Applied the following patches: * maxpath_str for reentrancy (temporary fix, reverted) * path: start working on thread-safe variants of these methods * Re-entrancy work on path/character-set conversions * directory.c: exploreDirectory() use reentrant functions here * directory/update: more use of reentrant functions + cleanups * string_toupper: a strdup-less version of strDupToUpper * get_song_url: a static-variable-free version of getSongUrl() * Use reentrant/thread-safe get_song_url everywhere * replace rmp2amp with the reentrant version, rmp2amp_r * Get rid of the non-reentrant/non-thread-safe rpp2app, too. * buffer2array: assert strdup() returns a usable value in unit tests * replace utf8ToFsCharset and fsCharsetToUtf8 with thread-safe variants * fix storing playlists w/o absolute paths * parent_path(), a reentrant version of parentPath() * parentPath => parent_path for reentrancy and thread-safety * allow "make test" to automatically run embedded unit tests * remove convStrDup() and maxpath_str() * use MPD_PATH_MAX everywhere instead of MAXPATHLEN * path: get rid of appendSlash, pfx_path and just use pfx_dir * get_song_url: fix the ability to play songs in the top-level music_directory git-svn-id: https://svn.musicpd.org/mpd/trunk@7106 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-05The massive copyright updateAvuton Olrich1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-18Reverting all of my localization changes. It was a horribleJ. Alexander Treuman1-2/+0
implementation, and fixing it is a big enough job that I don't know when I'll get around to it. Probably best just starting from scratch anyhow. git-svn-id: https://svn.musicpd.org/mpd/trunk@5373 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-08Moving pathConvCharset to charConv.c so it can be reused for localization.J. Alexander Treuman1-0/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@5226 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-20Add mpd-indent.shAvuton Olrich1-2/+2
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14Change shank's email addressJ. Alexander Treuman1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14[CLEANUP] Remove closeCharSetConversion from theAvuton Olrich1-2/+0
header, there's no need to export it. Static it. git-svn-id: https://svn.musicpd.org/mpd/trunk@4330 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13Huge header update, update the copyright and addAvuton Olrich1-1/+1
the GPL header where necessary git-svn-id: https://svn.musicpd.org/mpd/trunk@4317 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-03remove vim &*(@Warren Dukes1-1/+0
git-svn-id: https://svn.musicpd.org/mpd/trunk@2500 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17actually, scratch the last changeWarren Dukes1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@1524 09075e82-0dd4-0310-85a5-a0d7c8717e4f