ReplayGainInfo: move enum ReplayGainMode to separate header
This commit is contained in:
parent
25e58df5e0
commit
4f229c254c
@ -853,6 +853,7 @@ libbasic_a_SOURCES = \
|
|||||||
src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx \
|
src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx \
|
||||||
src/AudioFormat.cxx src/AudioFormat.hxx \
|
src/AudioFormat.cxx src/AudioFormat.hxx \
|
||||||
src/AudioParser.cxx src/AudioParser.hxx \
|
src/AudioParser.cxx src/AudioParser.hxx \
|
||||||
|
src/ReplayGainMode.hxx \
|
||||||
src/ReplayGainInfo.cxx src/ReplayGainInfo.hxx
|
src/ReplayGainInfo.cxx src/ReplayGainInfo.hxx
|
||||||
|
|
||||||
# configuration library
|
# configuration library
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#define MPD_REPLAY_GAIN_CONFIG_HXX
|
#define MPD_REPLAY_GAIN_CONFIG_HXX
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
#include "ReplayGainInfo.hxx"
|
#include "ReplayGainMode.hxx"
|
||||||
#include "Compiler.h"
|
#include "Compiler.h"
|
||||||
|
|
||||||
extern ReplayGainMode replay_gain_mode;
|
extern ReplayGainMode replay_gain_mode;
|
||||||
|
@ -22,13 +22,7 @@
|
|||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
#include "Compiler.h"
|
#include "Compiler.h"
|
||||||
|
#include "ReplayGainMode.hxx"
|
||||||
enum ReplayGainMode {
|
|
||||||
REPLAY_GAIN_AUTO = -2,
|
|
||||||
REPLAY_GAIN_OFF,
|
|
||||||
REPLAY_GAIN_ALBUM,
|
|
||||||
REPLAY_GAIN_TRACK,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ReplayGainTuple {
|
struct ReplayGainTuple {
|
||||||
float gain;
|
float gain;
|
||||||
|
30
src/ReplayGainMode.hxx
Normal file
30
src/ReplayGainMode.hxx
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2003-2016 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MPD_REPLAY_GAIN_MODE_HXX
|
||||||
|
#define MPD_REPLAY_GAIN_MODE_HXX
|
||||||
|
|
||||||
|
enum ReplayGainMode {
|
||||||
|
REPLAY_GAIN_AUTO = -2,
|
||||||
|
REPLAY_GAIN_OFF,
|
||||||
|
REPLAY_GAIN_ALBUM,
|
||||||
|
REPLAY_GAIN_TRACK,
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -23,7 +23,7 @@
|
|||||||
#include "AudioFormat.hxx"
|
#include "AudioFormat.hxx"
|
||||||
#include "pcm/PcmBuffer.hxx"
|
#include "pcm/PcmBuffer.hxx"
|
||||||
#include "pcm/PcmDither.hxx"
|
#include "pcm/PcmDither.hxx"
|
||||||
#include "ReplayGainInfo.hxx"
|
#include "ReplayGainMode.hxx"
|
||||||
#include "filter/Observer.hxx"
|
#include "filter/Observer.hxx"
|
||||||
#include "thread/Mutex.hxx"
|
#include "thread/Mutex.hxx"
|
||||||
#include "thread/Cond.hxx"
|
#include "thread/Cond.hxx"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#define OUTPUT_ALL_H
|
#define OUTPUT_ALL_H
|
||||||
|
|
||||||
#include "AudioFormat.hxx"
|
#include "AudioFormat.hxx"
|
||||||
#include "ReplayGainInfo.hxx"
|
#include "ReplayGainMode.hxx"
|
||||||
#include "Chrono.hxx"
|
#include "Chrono.hxx"
|
||||||
#include "Compiler.h"
|
#include "Compiler.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user