diff options
author | Max Kellermann <max@duempel.org> | 2010-02-14 17:04:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-02-17 07:23:13 +0100 |
commit | 752dfb3d95482c562e5d24c6ea839c4815de9a6d (patch) | |
tree | 46b62f26c4c68ebe81b72b9ca30366ffa14af1a5 /Makefile.am | |
parent | 5e0117b4441f257fcb1aab48b42a787567ebcbe6 (diff) | |
download | mpd-752dfb3d95482c562e5d24c6ea839c4815de9a6d.tar.gz mpd-752dfb3d95482c562e5d24c6ea839c4815de9a6d.tar.xz mpd-752dfb3d95482c562e5d24c6ea839c4815de9a6d.zip |
replay_gain: reimplement as a filter plugin
Apply the replay gain in the output thread. This means a new setting
will be active instantly, without going through the whole music pipe.
And we might have different replay gain settings for each audio output
device.
Diffstat (limited to '')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 0cbfffd49..ddb27a689 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,7 @@ mpd_headers = \ src/filter/autoconvert_filter_plugin.h \ src/filter/chain_filter_plugin.h \ src/filter/convert_filter_plugin.h \ + src/filter/replay_gain_filter_plugin.h \ src/filter/volume_filter_plugin.h \ src/command.h \ src/idle.h \ @@ -175,7 +176,6 @@ mpd_headers = \ src/queue_save.h \ src/replay_gain_config.h \ src/replay_gain_info.h \ - src/replay_gain_state.h \ src/sig_handlers.h \ src/song.h \ src/song_print.h \ @@ -306,7 +306,6 @@ src_mpd_SOURCES = \ src/queue_save.c \ src/replay_gain_config.c \ src/replay_gain_info.c \ - src/replay_gain_state.c \ src/sig_handlers.c \ src/song.c \ src/song_update.c \ @@ -744,6 +743,7 @@ FILTER_SRC = \ src/filter/convert_filter_plugin.c \ src/filter/route_filter_plugin.c \ src/filter/normalize_filter_plugin.c \ + src/filter/replay_gain_filter_plugin.c \ src/filter/volume_filter_plugin.c @@ -900,6 +900,8 @@ test_run_filter_SOURCES = test/run_filter.c \ src/audio_check.c \ src/audio_format.c \ src/audio_parser.c \ + src/replay_gain_config.c \ + src/replay_gain_info.c \ src/AudioCompress/compress.c \ $(FILTER_SRC) @@ -985,10 +987,13 @@ test_run_output_SOURCES = test/run_output.c \ src/filter_config.c \ src/filter/autoconvert_filter_plugin.c \ src/filter/convert_filter_plugin.c \ + src/filter/replay_gain_filter_plugin.c \ src/filter/normalize_filter_plugin.c \ src/filter/volume_filter_plugin.c \ src/pcm_volume.c \ src/AudioCompress/compress.c \ + src/replay_gain_info.c \ + src/replay_gain_config.c \ src/fd_util.c \ $(OUTPUT_SRC) |