test/FakeReplayGainConfig: move fake symbols from a few debug programs
This commit is contained in:
parent
a890dadfd2
commit
3c4bb9ff4e
@ -1164,6 +1164,7 @@ test_run_filter_LDADD = \
|
|||||||
$(FILTER_LIBS) \
|
$(FILTER_LIBS) \
|
||||||
$(GLIB_LIBS)
|
$(GLIB_LIBS)
|
||||||
test_run_filter_SOURCES = test/run_filter.c \
|
test_run_filter_SOURCES = test/run_filter.c \
|
||||||
|
test/FakeReplayGainConfig.cxx \
|
||||||
test/stdbin.h \
|
test/stdbin.h \
|
||||||
src/filter_plugin.c \
|
src/filter_plugin.c \
|
||||||
src/filter_registry.c \
|
src/filter_registry.c \
|
||||||
@ -1171,7 +1172,6 @@ test_run_filter_SOURCES = test/run_filter.c \
|
|||||||
src/audio_check.c \
|
src/audio_check.c \
|
||||||
src/audio_format.c \
|
src/audio_format.c \
|
||||||
src/audio_parser.c \
|
src/audio_parser.c \
|
||||||
src/ReplayGainConfig.cxx \
|
|
||||||
src/ReplayGainInfo.cxx \
|
src/ReplayGainInfo.cxx \
|
||||||
src/AudioCompress/compress.c
|
src/AudioCompress/compress.c
|
||||||
|
|
||||||
@ -1262,6 +1262,7 @@ test_run_output_LDADD = $(MPD_LIBS) \
|
|||||||
libutil.a \
|
libutil.a \
|
||||||
$(GLIB_LIBS)
|
$(GLIB_LIBS)
|
||||||
test_run_output_SOURCES = test/run_output.cxx \
|
test_run_output_SOURCES = test/run_output.cxx \
|
||||||
|
test/FakeReplayGainConfig.cxx \
|
||||||
test/stdbin.h \
|
test/stdbin.h \
|
||||||
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
||||||
src/io_thread.c src/io_thread.h \
|
src/io_thread.c src/io_thread.h \
|
||||||
@ -1283,7 +1284,6 @@ test_run_output_SOURCES = test/run_output.cxx \
|
|||||||
src/filter_config.c \
|
src/filter_config.c \
|
||||||
src/AudioCompress/compress.c \
|
src/AudioCompress/compress.c \
|
||||||
src/ReplayGainInfo.cxx \
|
src/ReplayGainInfo.cxx \
|
||||||
src/ReplayGainConfig.cxx \
|
|
||||||
src/fd_util.c \
|
src/fd_util.c \
|
||||||
src/server_socket.c
|
src/server_socket.c
|
||||||
|
|
||||||
|
25
test/FakeReplayGainConfig.cxx
Normal file
25
test/FakeReplayGainConfig.cxx
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2003-2013 The Music Player Daemon Project
|
||||||
|
* http://www.musicpd.org
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "replay_gain_config.h"
|
||||||
|
|
||||||
|
float replay_gain_preamp = 1.0;
|
||||||
|
float replay_gain_missing_preamp = 1.0;
|
||||||
|
bool replay_gain_limit = true;
|
@ -23,7 +23,6 @@
|
|||||||
#include "audio_format.h"
|
#include "audio_format.h"
|
||||||
#include "filter_plugin.h"
|
#include "filter_plugin.h"
|
||||||
#include "pcm_volume.h"
|
#include "pcm_volume.h"
|
||||||
#include "idle.h"
|
|
||||||
#include "mixer_control.h"
|
#include "mixer_control.h"
|
||||||
#include "stdbin.h"
|
#include "stdbin.h"
|
||||||
|
|
||||||
@ -34,11 +33,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
void
|
|
||||||
idle_add(G_GNUC_UNUSED unsigned flags)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
mixer_set_volume(G_GNUC_UNUSED struct mixer *mixer,
|
mixer_set_volume(G_GNUC_UNUSED struct mixer *mixer,
|
||||||
G_GNUC_UNUSED unsigned volume, G_GNUC_UNUSED GError **error_r)
|
G_GNUC_UNUSED unsigned volume, G_GNUC_UNUSED GError **error_r)
|
||||||
|
@ -42,11 +42,6 @@ extern "C" {
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
void
|
|
||||||
idle_add(G_GNUC_UNUSED unsigned flags)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
|
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user