aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainConfig.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2008-11-11replay_gain: removed superfluous author name commentMax Kellermann1-1/+0
The author's name is already mentioned in the copyright declaration.
2008-11-11replay_gain: no CamelCaseMax Kellermann1-30/+31
Renamed functions and variables.
2008-11-11replay_gain: renamed sources to replay_gain.c, replay_gain.hMax Kellermann1-1/+1
No CamelCase file names.
2008-09-29assume stdint.h and stddef.h are availableMax Kellermann1-1/+0
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.
2008-09-29Switch to C99 types (retaining compat with old compilers)Eric Wong1-5/+5
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.
2008-09-07audio_format: converted typedef AudioFormat to struct audio_formatMax Kellermann1-1/+3
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
2008-04-12constant pointers in replayGain.cMax Kellermann1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@7342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-03Cleanup #includes of standard system headers and put them in one placeEric Wong1-4/+1
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f