mpd/src
J. Alexander Treuman fe4b16ed96 inputPlugins/mp3_plugin: parse LAME tags for ReplayGain info
Parse ReplayGain info in LAME tags and use it if no ID3v2 ReplayGain tags
are found.  This is currently a bit unsafe, as apparently some LAME tags
have bogus ReplayGain values.  But I'm finding a lot of MP3s with valid
LAME tags that fail the LAME tag CRC check.  So until I figure out why
that's happening, it's an unreliable method for checking if the LAME tag is
valid.

A big thanks to tmz for writing the original patch.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6798 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-08-22 16:42:08 +00:00
..
audioOutputs audioOutputs/audioOutput_shout: adding timers back 2007-08-11 21:36:23 +00:00
inputPlugins inputPlugins/mp3_plugin: parse LAME tags for ReplayGain info 2007-08-22 16:42:08 +00:00
mp4ff Fix warnings for -Wmissing-prototypes 2006-08-20 00:50:44 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio.c Adding FIFO audio output. This is pretty much identical to the old one, 2007-06-13 14:15:30 +00:00
audio.h The massive copyright update 2007-04-05 03:22:33 +00:00
audioOutput.c Tidying up some code. 2007-06-09 19:19:33 +00:00
audioOutput.h Adding FIFO audio output. This is pretty much identical to the old one, 2007-06-13 14:15:30 +00:00
buffer2array.c The massive copyright update 2007-04-05 03:22:33 +00:00
buffer2array.h The massive copyright update 2007-04-05 03:22:33 +00:00
charConv.c The massive copyright update 2007-04-05 03:22:33 +00:00
charConv.h The massive copyright update 2007-04-05 03:22:33 +00:00
command.c Adding rename command, for renaming stored playlists. 2007-05-24 18:07:19 +00:00
command.h The massive copyright update 2007-04-05 03:22:33 +00:00
compress.c The massive copyright update 2007-04-05 03:22:33 +00:00
compress.h The massive copyright update 2007-04-05 03:22:33 +00:00
conf.c Adding parsePath and making parseConfigFilePath use it. 2007-06-13 15:27:09 +00:00
conf.h allow zeroconf to be disabled. 2007-06-03 18:08:51 +00:00
dbUtils.c Committing pat's rewrite of the stored playlist code. This also adds two 2007-05-16 12:02:10 +00:00
dbUtils.h Adding count command. It's usage is identical to find, but instead of 2007-04-25 23:46:11 +00:00
decode.c decode: close audio device after initial open if paused 2007-08-12 19:23:48 +00:00
decode.h The massive copyright update 2007-04-05 03:22:33 +00:00
directory.c Extra debug output 2007-07-16 20:31:37 +00:00
directory.h Don't list playlists in lsinfo if the path isn't the root directory (they 2007-05-24 17:06:59 +00:00
gcc.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputPlugin.c Adding WavPack support. Patch courtesy Kodest. 2007-06-24 20:40:04 +00:00
inputPlugin.h Adding WavPack support. Patch courtesy Kodest. 2007-06-24 20:40:04 +00:00
inputStream_file.c The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http.c Use string concatenation instead of snprintf for the User-Agent HTTP 2007-06-09 13:43:40 +00:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.h The massive copyright update 2007-04-05 03:22:33 +00:00
interface.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
interface.h The massive copyright update 2007-04-05 03:22:33 +00:00
ioops.h Changing "//" comments to "/* */" comments. 2007-05-15 23:23:09 +00:00
list.c The massive copyright update 2007-04-05 03:22:33 +00:00
list.h weather -> whether 2007-05-26 15:05:06 +00:00
listen.c Removing the getBoundPort() function and just making boundPort an extern. 2007-06-01 17:44:03 +00:00
listen.h Removing the getBoundPort() function and just making boundPort an extern. 2007-06-01 17:44:03 +00:00
locate.c Use "file" instead of SONG_INFO (literally "file: ") for 2007-03-20 20:22:23 +00:00
locate.h Adding copyright headers to locate.[ch]. 2007-02-24 03:14:00 +00:00
log.c log: flush the warning log after redirecting stderr to the log files 2007-06-29 18:41:02 +00:00
log.h The massive copyright update 2007-04-05 03:22:33 +00:00
ls.c The massive copyright update 2007-04-05 03:22:33 +00:00
ls.h The massive copyright update 2007-04-05 03:22:33 +00:00
main.c Don't initialize zeroconf until after we've daemonized and log output has 2007-06-04 17:41:18 +00:00
Makefile.am Adding WavPack support. Patch courtesy Kodest. 2007-06-24 20:40:04 +00:00
metadataChunk.c The massive copyright update 2007-04-05 03:22:33 +00:00
metadataChunk.h The massive copyright update 2007-04-05 03:22:33 +00:00
mpd_types.h Adding a null output plugin. 2007-05-30 16:52:56 +00:00
myfprintf.c The massive copyright update 2007-04-05 03:22:33 +00:00
myfprintf.h The massive copyright update 2007-04-05 03:22:33 +00:00
normalize.c Making some bool options more consistent. 2007-06-03 19:25:25 +00:00
normalize.h The massive copyright update 2007-04-05 03:22:33 +00:00
outputBuffer.c Make pcm_convertAudioFormat return the buffer size. This is necessary 2007-05-26 16:39:55 +00:00
outputBuffer.h Reverting to the full lsr API. Turns out the simple API needs all of the 2007-05-24 21:15:37 +00:00
path.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
path.h The massive copyright update 2007-04-05 03:22:33 +00:00
pcm_utils.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
pcm_utils.h Make pcm_convertAudioFormat return the buffer size. This is necessary 2007-05-26 16:39:55 +00:00
permission.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
permission.h The massive copyright update 2007-04-05 03:22:33 +00:00
player.c Set a flag if we've sent the player process SIGSTOP so that we know not to 2007-06-04 23:14:38 +00:00
player.h Set a flag if we've sent the player process SIGSTOP so that we know not to 2007-06-04 23:14:38 +00:00
playerData.c Set a flag if we've sent the player process SIGSTOP so that we know not to 2007-06-04 23:14:38 +00:00
playerData.h The massive copyright update 2007-04-05 03:22:33 +00:00
playlist.c Don't kill the player process (and effectively the decode process) when 2007-06-04 22:29:55 +00:00
playlist.h Committing pat's rewrite of the stored playlist code. This also adds two 2007-05-16 12:02:10 +00:00
replayGain.c replayGain: adding DEBUG messages when computing scale 2007-06-25 14:34:40 +00:00
replayGain.h The massive copyright update 2007-04-05 03:22:33 +00:00
sig_handlers.c The massive copyright update 2007-04-05 03:22:33 +00:00
sig_handlers.h The massive copyright update 2007-04-05 03:22:33 +00:00
signal_check.c The massive copyright update 2007-04-05 03:22:33 +00:00
signal_check.h The massive copyright update 2007-04-05 03:22:33 +00:00
sllist.c The massive copyright update 2007-04-05 03:22:33 +00:00
sllist.h The massive copyright update 2007-04-05 03:22:33 +00:00
song.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
song.h The massive copyright update 2007-04-05 03:22:33 +00:00
state_file.c After changing ERROR();exit() to FATAL(), gcc incorrectly detects some 2007-05-26 18:20:53 +00:00
state_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
stats.c The massive copyright update 2007-04-05 03:22:33 +00:00
stats.h The massive copyright update 2007-04-05 03:22:33 +00:00
storedPlaylist.c Changing calls to strdup to xstrdup. 2007-05-26 15:04:54 +00:00
storedPlaylist.h Adding rename command, for renaming stored playlists. 2007-05-24 18:07:19 +00:00
tag.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
tag.h The massive copyright update 2007-04-05 03:22:33 +00:00
tagTracker.c The massive copyright update 2007-04-05 03:22:33 +00:00
tagTracker.h The massive copyright update 2007-04-05 03:22:33 +00:00
timer.c Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
timer.h Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
tree.c The massive copyright update 2007-04-05 03:22:33 +00:00
tree.h The massive copyright update 2007-04-05 03:22:33 +00:00
utf8.c The massive copyright update 2007-04-05 03:22:33 +00:00
utf8.h The massive copyright update 2007-04-05 03:22:33 +00:00
utils.c Adding parsePath and making parseConfigFilePath use it. 2007-06-13 15:27:09 +00:00
utils.h Adding parsePath and making parseConfigFilePath use it. 2007-06-13 15:27:09 +00:00
volume.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
volume.h The massive copyright update 2007-04-05 03:22:33 +00:00
zeroconf.c Define HAVE_ZEROCONF if Avahi or Bonjour support is enabled, so that we can 2007-06-03 19:44:19 +00:00
zeroconf.h The massive copyright update 2007-04-05 03:22:33 +00:00