[DEV] clean header file
This commit is contained in:
parent
c638b01ff0
commit
a4a021277a
@ -7,10 +7,6 @@
|
|||||||
#include <functional>
|
#include <functional>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "Algo"
|
|
||||||
|
|
||||||
audio::drain::Algo::Algo() :
|
audio::drain::Algo::Algo() :
|
||||||
m_temporary(false),
|
m_temporary(false),
|
||||||
m_outputData(),
|
m_outputData(),
|
||||||
@ -114,4 +110,4 @@ void audio::drain::Algo::generateStatus(const std::string& _status) {
|
|||||||
m_statusFunction(m_name, _status);
|
m_statusFunction(m_name, _status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,6 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "ChannelReorder"
|
|
||||||
|
|
||||||
audio::drain::ChannelReorder::ChannelReorder() {
|
audio::drain::ChannelReorder::ChannelReorder() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#include <audio/drain/EndPointCallback.h>
|
#include <audio/drain/EndPointCallback.h>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "EndPointCallback"
|
|
||||||
|
|
||||||
audio::drain::EndPointCallback::EndPointCallback() :
|
audio::drain::EndPointCallback::EndPointCallback() :
|
||||||
m_outputFunction(nullptr),
|
m_outputFunction(nullptr),
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#include <audio/drain/EndPointRead.h>
|
#include <audio/drain/EndPointRead.h>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "EndPointRead"
|
|
||||||
|
|
||||||
audio::drain::EndPointRead::EndPointRead() {
|
audio::drain::EndPointRead::EndPointRead() {
|
||||||
|
|
||||||
|
@ -7,9 +7,6 @@
|
|||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "EndPointWrite"
|
|
||||||
|
|
||||||
audio::drain::EndPointWrite::EndPointWrite() :
|
audio::drain::EndPointWrite::EndPointWrite() :
|
||||||
m_function(nullptr),
|
m_function(nullptr),
|
||||||
m_bufferSizeMicroseconds(1000000) {
|
m_bufferSizeMicroseconds(1000000) {
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "FormatUpdate"
|
|
||||||
|
|
||||||
#ifndef INT16_MAX
|
#ifndef INT16_MAX
|
||||||
#define INT16_MAX 0x7fff
|
#define INT16_MAX 0x7fff
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,10 +7,6 @@
|
|||||||
#include "IOFormatInterface.h"
|
#include "IOFormatInterface.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "IOFormatInterface"
|
|
||||||
|
|
||||||
|
|
||||||
std::ostream& audio::drain::operator <<(std::ostream& _os, const IOFormatInterface& _obj) {
|
std::ostream& audio::drain::operator <<(std::ostream& _os, const IOFormatInterface& _obj) {
|
||||||
_os << "{";
|
_os << "{";
|
||||||
if (_obj.getConfigured() == false) {
|
if (_obj.getConfigured() == false) {
|
||||||
|
@ -15,9 +15,6 @@
|
|||||||
#include <audio/drain/Resampler.h>
|
#include <audio/drain/Resampler.h>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "Process"
|
|
||||||
|
|
||||||
audio::drain::Process::Process() :
|
audio::drain::Process::Process() :
|
||||||
m_isConfigured(false) {
|
m_isConfigured(false) {
|
||||||
m_data.clear();
|
m_data.clear();
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "Resampler"
|
|
||||||
|
|
||||||
audio::drain::Resampler::Resampler() :
|
audio::drain::Resampler::Resampler() :
|
||||||
#ifdef HAVE_SPEEX_DSP_RESAMPLE
|
#ifdef HAVE_SPEEX_DSP_RESAMPLE
|
||||||
m_speexResampler(nullptr),
|
m_speexResampler(nullptr),
|
||||||
|
@ -9,9 +9,6 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <audio/drain/debug.h>
|
#include <audio/drain/debug.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "Volume"
|
|
||||||
|
|
||||||
audio::drain::Volume::Volume() :
|
audio::drain::Volume::Volume() :
|
||||||
m_volumeAppli(1.0f),
|
m_volumeAppli(1.0f),
|
||||||
m_functionConvert(nullptr) {
|
m_functionConvert(nullptr) {
|
||||||
|
@ -7,6 +7,3 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ ""
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
|
||||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
*
|
* @license APACHE v2.0 (see license file)
|
||||||
* @license BSD 3 clauses (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __AUDIO_DRAIN_DEBUG_H__
|
#ifdef __AUDIO_DRAIN_DEBUG_H__
|
||||||
|
@ -8,10 +8,6 @@
|
|||||||
#include <test-debug/debug.h>
|
#include <test-debug/debug.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "test"
|
|
||||||
|
|
||||||
int main(int _argc, const char** _argv) {
|
int main(int _argc, const char** _argv) {
|
||||||
// init Google test :
|
// init Google test :
|
||||||
::testing::InitGoogleTest(&_argc, const_cast<char **>(_argv));
|
::testing::InitGoogleTest(&_argc, const_cast<char **>(_argv));
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.h>
|
||||||
@ -16,10 +14,7 @@
|
|||||||
#include <ewol/widget/Slider.h>
|
#include <ewol/widget/Slider.h>
|
||||||
#include <audio/drain/Equalizer.h>
|
#include <audio/drain/Equalizer.h>
|
||||||
|
|
||||||
#undef __class__
|
define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
|
||||||
#define __class__ "Windows"
|
|
||||||
|
|
||||||
#define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
|
|
||||||
do { \
|
do { \
|
||||||
static FILE *pointerOnFile = nullptr; \
|
static FILE *pointerOnFile = nullptr; \
|
||||||
static bool errorOpen = false; \
|
static bool errorOpen = false; \
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license GPL v3 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,19 +1,13 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <appl/widget/DisplayFrequency.h>
|
#include <appl/widget/DisplayFrequency.h>
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.h>
|
||||||
#include <etk/tool.h>
|
#include <etk/tool.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "DisplayFrequency"
|
|
||||||
|
|
||||||
|
|
||||||
appl::widget::DisplayFrequency::DisplayFrequency() :
|
appl::widget::DisplayFrequency::DisplayFrequency() :
|
||||||
m_gainMin(0.0f),
|
m_gainMin(0.0f),
|
||||||
m_gainMax(1.0f),
|
m_gainMax(1.0f),
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ewol/ewol.h>
|
#include <ewol/ewol.h>
|
||||||
@ -14,9 +12,6 @@
|
|||||||
#include <ewol/widget/Button.h>
|
#include <ewol/widget/Button.h>
|
||||||
#include <ewol/widget/Slider.h>
|
#include <ewol/widget/Slider.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "Windows"
|
|
||||||
|
|
||||||
#define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
|
#define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
|
||||||
do { \
|
do { \
|
||||||
static FILE *pointerOnFile = nullptr; \
|
static FILE *pointerOnFile = nullptr; \
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license GPL v3 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,19 +1,13 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <appl/widget/DisplayFrequency.h>
|
#include <appl/widget/DisplayFrequency.h>
|
||||||
#include <appl/debug.h>
|
#include <appl/debug.h>
|
||||||
#include <etk/tool.h>
|
#include <etk/tool.h>
|
||||||
|
|
||||||
#undef __class__
|
|
||||||
#define __class__ "DisplayFrequency"
|
|
||||||
|
|
||||||
|
|
||||||
appl::widget::DisplayFrequency::DisplayFrequency() :
|
appl::widget::DisplayFrequency::DisplayFrequency() :
|
||||||
m_gainMin(0.0f),
|
m_gainMin(0.0f),
|
||||||
m_gainMax(1.0f),
|
m_gainMax(1.0f),
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
/**
|
/** @file
|
||||||
* @author Edouard DUPIN
|
* @author Edouard DUPIN
|
||||||
*
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @copyright 2010, Edouard DUPIN, all right reserved
|
* @license APACHE v2.0 (see license file)
|
||||||
*
|
|
||||||
* @license APACHE-2 (see license file)
|
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user