replay_gain_*: convert to C++

This commit is contained in:
Max Kellermann
2013-01-04 23:45:55 +01:00
parent 07249fc395
commit 44d260f911
3 changed files with 18 additions and 11 deletions

View File

@@ -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>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* 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
@@ -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)