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
44d260f9
Commit
44d260f9
authored
Jan 04, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replay_gain_*: convert to C++
parent
07249fc3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
+18
-11
Makefile.am
Makefile.am
+9
-9
ReplayGainConfig.cxx
src/ReplayGainConfig.cxx
+5
-1
ReplayGainInfo.cxx
src/ReplayGainInfo.cxx
+4
-1
No files found.
Makefile.am
View file @
44d260f9
...
...
@@ -282,8 +282,8 @@ src_mpd_SOURCES = \
src/Queue.cxx src/Queue.hxx
\
src/QueuePrint.cxx src/QueuePrint.hxx
\
src/QueueSave.cxx src/QueueSave.hxx
\
src/
replay_gain_config.c
\
src/
replay_gain_info.c
\
src/
ReplayGainConfig.cxx
\
src/
ReplayGainInfo.cxx
\
src/sig_handlers.c
\
src/Song.cxx
\
src/SongUpdate.cxx
\
...
...
@@ -1102,7 +1102,7 @@ test_DumpPlaylist_SOURCES = test/DumpPlaylist.cxx \
if
HAVE_FLAC
test_DumpPlaylist_SOURCES
+=
\
src/
replay_gain_info.c
\
src/
ReplayGainInfo.cxx
\
src/decoder/FLACMetaData.cxx
endif
...
...
@@ -1119,7 +1119,7 @@ test_run_decoder_SOURCES = test/run_decoder.c \
src/io_thread.c src/io_thread.h
\
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c
\
src/tag.c src/tag_pool.c src/tag_handler.c
\
src/
replay_gain_info.c
\
src/
ReplayGainInfo.cxx
\
src/uri.c
\
src/fd_util.c
\
src/audio_check.c
\
...
...
@@ -1141,7 +1141,7 @@ test_read_tags_SOURCES = test/read_tags.c \
src/io_thread.c src/io_thread.h
\
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c
\
src/tag.c src/tag_pool.c src/tag_handler.c
\
src/
replay_gain_info.c
\
src/
ReplayGainInfo.cxx
\
src/uri.c
\
src/fd_util.c
\
src/audio_check.c
\
...
...
@@ -1169,8 +1169,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/
ReplayGainConfig.cxx
\
src/
ReplayGainInfo.cxx
\
src/AudioCompress/compress.c
if
ENABLE_DESPOTIFY
...
...
@@ -1280,8 +1280,8 @@ test_run_output_SOURCES = test/run_output.cxx \
src/filter_plugin.c
\
src/filter_config.c
\
src/AudioCompress/compress.c
\
src/
replay_gain_info.c
\
src/
replay_gain_config.c
\
src/
ReplayGainInfo.cxx
\
src/
ReplayGainConfig.cxx
\
src/fd_util.c
\
src/server_socket.c
...
...
src/
replay_gain_config.c
→
src/
ReplayGainConfig.cxx
View file @
44d260f9
...
...
@@ -18,10 +18,14 @@
*/
#include "config.h"
extern
"C"
{
#include "replay_gain_config.h"
#include "Playlist.hxx"
#include "conf.h"
#include "idle.h"
}
#include "Playlist.hxx"
#include "mpd_error.h"
#include <glib.h>
...
...
src/
replay_gain_info.c
→
src/
ReplayGainInfo.cxx
View file @
44d260f9
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -18,7 +18,10 @@
*/
#include "config.h"
extern
"C"
{
#include "replay_gain_info.h"
}
float
replay_gain_tuple_scale
(
const
struct
replay_gain_tuple
*
tuple
,
float
preamp
,
float
missing_preamp
,
bool
peak_limit
)
...
...
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