Use AudioCompress for volume normalization

git-svn-id: https://svn.musicpd.org/mpd/trunk@4474 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman
2006-07-27 00:50:59 +00:00
parent bf5336cebd
commit 22b16884a2
10 changed files with 463 additions and 100 deletions

View File

@@ -167,15 +167,8 @@ void initPlaylist(void)
}
playlist_saveAbsolutePaths = getBoolConfigParam(CONF_SAVE_ABSOLUTE_PATHS);
if (playlist_saveAbsolutePaths == -1) {
/* not set */
playlist_saveAbsolutePaths = 0;
} else if (playlist_saveAbsolutePaths < 0) {
param = getConfigParam(CONF_SAVE_ABSOLUTE_PATHS);
ERROR("%s is not \"yes\" or \"no\" on line %i\n",
CONF_SAVE_ABSOLUTE_PATHS, param->line);
exit(EXIT_FAILURE);
}
if (playlist_saveAbsolutePaths == -1) playlist_saveAbsolutePaths = 0;
else if (playlist_saveAbsolutePaths < 0) exit(EXIT_FAILURE);
playlist.songs = malloc(sizeof(Song *) * playlist_max_length);
playlist.songMod = malloc(sizeof(mpd_uint32) * playlist_max_length);