aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainConfig.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-4/+6
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+1
2013-10-28*: use nullptr instead of NULLMax Kellermann1-2/+2
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann1-3/+3
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann1-2/+0
2013-10-15ConfigData: use std::string for config_param::valueMax Kellermann1-8/+13
2013-10-02replay_gain_*.h: rename to *.hxxMax Kellermann1-1/+1
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann1-11/+11
Migrate the remaining callers to FatalError().
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann1-2/+1
2013-01-09idle: convert to C++Max Kellermann1-5/+1
2013-01-09ReplayGainCoinfig: initialize replay_gain_limit with default valueMax Kellermann1-1/+1
2013-01-09ReplayGainCoinfig: make DEFAULT_REPLAYGAIN_LIMIT staticMax Kellermann1-1/+1
2013-01-07replay_gain_info, ...: use cmath instead of math.h in C++ modeMax Kellermann1-1/+0
Fixes build problems with mingw32.
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-2/+2
2013-01-05filter/ReplayGain: add method _set_mode()Max Kellermann1-2/+3
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode().
2013-01-04replay_gain_*: convert to C++Max Kellermann1-1/+5
2013-01-04replay_gain_config: remove unused variable replay_gain_mode_namesMax Kellermann1-5/+0
2013-01-04playlist: convert to C++Max Kellermann1-2/+2
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-09-25eliminate g_error() usageThomas Jansen1-10/+11
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
2010-05-30filter/replay_gain: added option "replaygain_limit"Daniel Seuthe1-0/+5
2010-05-18replay_gain_config: added function replay_gain_get_real_mode()Daniel Seuthe1-0/+13
2010-04-25replay_gain: added mode "auto"Daniel Seuthe1-0/+5
2010-01-04replay_gain: moved code to replay_gain_config.cMax Kellermann1-4/+1
2010-01-04replay_gain: moved code to replay_gain_info.cMax Kellermann1-23/+0
2010-01-04replay_gain: refactor API, move code to replay_gain_state.cMax Kellermann1-53/+2
The replay_gain_state struct holds the precalculated scale factor, which is removed from struct replay_gain_info.
2010-01-04replay_gain: added function replay_gain_info_dup()Max Kellermann1-0/+6
2010-01-02replay_gain: removed overly verbose debug messageMax Kellermann1-1/+0
Don't log "ReplayGain is missing".
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-11-01replay_gain: trigger OPTIONS idle event on mode changeMax Kellermann1-0/+3
2009-10-17command: allow changing replay gain mode on-the-flyMax Kellermann1-1/+20
The new command "replay_gain_mode" allows the user to switch the replay gain mode on-the-fly. No more mpd.conf editing.
2009-10-17replay_gain: moved mode parser to replay_gain_set_mode_string()Max Kellermann1-6/+19
2009-10-17replay_gain: added setting "replaygain off"Max Kellermann1-1/+1
There was no setting for disabling replay gain. It was off when the "replaygain" setting was not there.
2009-10-17replay_gain: read configuration even when replay gain is disabledMax Kellermann1-4/+3
It will be possible to enable replay gain at runtime even when it is disabled in the configuration file. This patch enables the preamp settings in this case.
2009-06-25Preamp for missing replay-gainDaniel Seuthe1-9/+38
2009-03-13all: Update copyright header.Avuton Olrich1-7/+10
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-25conf: const pointers in block get functionsMax Kellermann1-1/+1
All config_get_block_*() functions should accept constant config_param pointers.
2009-01-17conf: no CamelCase, part IMax Kellermann1-2/+2
Renamed functions, types, variables.
2009-01-07pcm_utils: moved code to pcm_volume.cMax Kellermann1-1/+1
Moved the software volume code to a separate library.
2008-11-11replay_gain: don't include os_compat.hMax Kellermann1-1/+3
os_compat.h is deprecated and should be replaced with well-defined standard headers.
2008-11-11replay_gain: use GLib instead of utils.h/log.hMax Kellermann1-14/+11
Eliminated deprecated libraries.
2008-11-11replay_gain: use pcm_volume() to apply replay gainMax Kellermann1-37/+2
The currently replay_gain_apply() implementation duplicates code from pcm_volume(), except that it uses a floating point scale. Eliminate all duplicated code from and make it utilize the pcm_volume() library function. This introduces replay gain support for 24 bit audio.
2008-11-11replay_gain: converted struct replay_gain_info elements to an arrayMax Kellermann1-19/+19
Having an array instead of individual variables allows the use of the replay_gain_mode enum as an array index.
2008-11-11replay_gain: converted replay_gain_mode to an enumMax Kellermann1-1/+1
Prefer C enums over CPP macros.