Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
4f229c25
Commit
4f229c25
authored
Nov 24, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ReplayGainInfo: move enum ReplayGainMode to separate header
parent
25e58df5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
10 deletions
+35
-10
Makefile.am
Makefile.am
+1
-0
ReplayGainConfig.hxx
src/ReplayGainConfig.hxx
+1
-1
ReplayGainInfo.hxx
src/ReplayGainInfo.hxx
+1
-7
ReplayGainMode.hxx
src/ReplayGainMode.hxx
+30
-0
Internal.hxx
src/output/Internal.hxx
+1
-1
MultipleOutputs.hxx
src/output/MultipleOutputs.hxx
+1
-1
No files found.
Makefile.am
View file @
4f229c25
...
...
@@ -853,6 +853,7 @@ libbasic_a_SOURCES = \
src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx
\
src/AudioFormat.cxx src/AudioFormat.hxx
\
src/AudioParser.cxx src/AudioParser.hxx
\
src/ReplayGainMode.hxx
\
src/ReplayGainInfo.cxx src/ReplayGainInfo.hxx
# configuration library
...
...
src/ReplayGainConfig.hxx
View file @
4f229c25
...
...
@@ -21,7 +21,7 @@
#define MPD_REPLAY_GAIN_CONFIG_HXX
#include "check.h"
#include "ReplayGain
Info
.hxx"
#include "ReplayGain
Mode
.hxx"
#include "Compiler.h"
extern
ReplayGainMode
replay_gain_mode
;
...
...
src/ReplayGainInfo.hxx
View file @
4f229c25
...
...
@@ -22,13 +22,7 @@
#include "check.h"
#include "Compiler.h"
enum
ReplayGainMode
{
REPLAY_GAIN_AUTO
=
-
2
,
REPLAY_GAIN_OFF
,
REPLAY_GAIN_ALBUM
,
REPLAY_GAIN_TRACK
,
};
#include "ReplayGainMode.hxx"
struct
ReplayGainTuple
{
float
gain
;
...
...
src/ReplayGainMode.hxx
0 → 100644
View file @
4f229c25
/*
* 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
src/output/Internal.hxx
View file @
4f229c25
...
...
@@ -23,7 +23,7 @@
#include "AudioFormat.hxx"
#include "pcm/PcmBuffer.hxx"
#include "pcm/PcmDither.hxx"
#include "ReplayGain
Info
.hxx"
#include "ReplayGain
Mode
.hxx"
#include "filter/Observer.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
...
...
src/output/MultipleOutputs.hxx
View file @
4f229c25
...
...
@@ -27,7 +27,7 @@
#define OUTPUT_ALL_H
#include "AudioFormat.hxx"
#include "ReplayGain
Info
.hxx"
#include "ReplayGain
Mode
.hxx"
#include "Chrono.hxx"
#include "Compiler.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment