[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-10-02 21:41:55 +02:00
parent 73d7141574
commit dbba4af26d
55 changed files with 173 additions and 174 deletions

View File

@ -3,9 +3,9 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
#include <functional>
#include "debug.h"
#include "debug.hpp"
audio::drain::Algo::Algo() :
m_temporary(false),

View File

@ -8,16 +8,16 @@
#include <string>
#include <vector>
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <chrono>
#include <functional>
#include <ememory/memory.h>
#include "AutoLogInOut.h"
#include "IOFormatInterface.h"
#include <audio/Time.h>
#include <audio/Duration.h>
#include "debug.h"
#include <ememory/memory.hpp>
#include "AutoLogInOut.hpp"
#include "IOFormatInterface.hpp"
#include <audio/Time.hpp>
#include <audio/Duration.hpp>
#include "debug.hpp"
/**
* @brief Audio library namespace

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include "AutoLogInOut.h"
#include "debug.h"
#include "AutoLogInOut.hpp"
#include "debug.hpp"
audio::drain::AutoLogInOut::AutoLogInOut(const std::string& _value) :
m_value(_value) {

View File

@ -6,7 +6,7 @@
#pragma once
#include <string>
#include "debug.h"
#include "debug.hpp"
namespace audio {
namespace drain{
@ -20,5 +20,5 @@ namespace audio {
}
}
#include "debugRemove.h"
#include "debugRemove.hpp"

View File

@ -4,10 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/ChannelReorder.h>
#include <audio/drain/ChannelReorder.hpp>
#include <iostream>
#include "debug.h"
#include "debug.h"
#include "debug.hpp"
audio::drain::ChannelReorder::ChannelReorder() {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
namespace audio {
namespace drain{

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/CircularBuffer.h>
#include <audio/drain/debug.h>
#include <audio/drain/CircularBuffer.hpp>
#include <audio/drain/debug.hpp>
audio::drain::CircularBuffer::CircularBuffer(const audio::drain::CircularBuffer& _obj) :
m_data(),

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.hpp>
#include <vector>
#include <chrono>
#include <audio/Time.h>
#include <audio/Duration.h>
#include <audio/Time.hpp>
#include <audio/Duration.hpp>
namespace audio {
namespace drain {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
namespace audio {
namespace drain{

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/EndPointCallback.h>
#include <audio/drain/debug.h>
#include <audio/drain/EndPointCallback.hpp>
#include <audio/drain/debug.hpp>
audio::drain::EndPointCallback::EndPointCallback() :

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <audio/drain/EndPoint.h>
#include <audio/drain/EndPoint.hpp>
#include <functional>
namespace audio {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/EndPointRead.h>
#include <audio/drain/debug.h>
#include <audio/drain/EndPointRead.hpp>
#include <audio/drain/debug.hpp>
audio::drain::EndPointRead::EndPointRead() {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <audio/drain/EndPoint.h>
#include <audio/drain/EndPoint.hpp>
namespace audio {
namespace drain{

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/EndPointWrite.h>
#include <audio/drain/debug.h>
#include <audio/drain/EndPointWrite.hpp>
#include <audio/drain/debug.hpp>
audio::drain::EndPointWrite::EndPointWrite() :

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <audio/drain/EndPoint.h>
#include <audio/drain/EndPoint.hpp>
#include <functional>
#include <mutex>
#include <audio/drain/CircularBuffer.h>
#include <audio/drain/CircularBuffer.hpp>
namespace audio {
namespace drain{

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/Equalizer.h>
#include <audio/drain/Algo.h>
#include <audio/drain/debug.h>
#include <audio/drain/Equalizer.hpp>
#include <audio/drain/Algo.hpp>
#include <audio/drain/debug.hpp>
// see http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
// see http://www.earlevel.com/main/2013/10/13/biquad-calculator-v2/

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <ememory/memory.h>
#include <ejson/Object.h>
#include <audio/algo/drain/Equalizer.h>
#include <audio/drain/Algo.hpp>
#include <ememory/memory.hpp>
#include <ejson/Object.hpp>
#include <audio/algo/drain/Equalizer.hpp>
namespace audio {
namespace drain {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/FormatUpdate.h>
#include <audio/drain/FormatUpdate.hpp>
#include <iostream>
#include <audio/drain/debug.h>
#include <audio/drain/debug.hpp>
#ifndef INT16_MAX
#define INT16_MAX 0x7fff

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
namespace audio {
namespace drain {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include "IOFormatInterface.h"
#include "debug.h"
#include "IOFormatInterface.hpp"
#include "debug.hpp"
std::ostream& audio::drain::operator <<(std::ostream& _os, const IOFormatInterface& _obj) {
_os << "{";

View File

@ -8,13 +8,13 @@
#include <string>
#include <vector>
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <chrono>
#include <functional>
#include <ememory/memory.h>
#include "AutoLogInOut.h"
#include "debug.h"
#include <ememory/memory.hpp>
#include "AutoLogInOut.hpp"
#include "debug.hpp"
namespace audio {
namespace drain{

View File

@ -7,13 +7,13 @@
#include <string>
#include <vector>
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <audio/drain/Process.h>
#include <audio/drain/ChannelReorder.h>
#include <audio/drain/FormatUpdate.h>
#include <audio/drain/Resampler.h>
#include <audio/drain/debug.h>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <audio/drain/Process.hpp>
#include <audio/drain/ChannelReorder.hpp>
#include <audio/drain/FormatUpdate.hpp>
#include <audio/drain/Resampler.hpp>
#include <audio/drain/debug.hpp>
audio::drain::Process::Process() :
m_isConfigured(false) {

View File

@ -8,12 +8,12 @@
#include <string>
#include <vector>
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <audio/drain/Algo.h>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <audio/drain/Algo.hpp>
#include <chrono>
#include <ememory/memory.h>
#include <etk/os/FSNode.h>
#include <ememory/memory.hpp>
#include <etk/os/FSNode.hpp>
namespace audio {
namespace drain{

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/Resampler.h>
#include <audio/drain/Resampler.hpp>
#include <iostream>
#include <audio/drain/debug.h>
#include <audio/drain/debug.hpp>
audio::drain::Resampler::Resampler() :
#ifdef HAVE_SPEEX_DSP_RESAMPLE

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
#ifdef HAVE_SPEEX_DSP_RESAMPLE
#include <speex/speex_resampler.h>
#include <speex/speex_resampler.hpp>
#endif
#include <ememory/memory.h>
#include <ememory/memory.hpp>
namespace audio {
namespace drain {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/Volume.h>
#include <audio/drain/Volume.hpp>
#include <iostream>
#include <math.h>
#include <audio/drain/debug.h>
#include <cmath>
#include <audio/drain/debug.hpp>
audio::drain::Volume::Volume() :
m_volumeAppli(1.0f),

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <audio/drain/Algo.h>
#include <audio/drain/Algo.hpp>
#ifdef HAVE_SPEEX_DSP_RESAMPLE
#include <speex/speex_resampler.h>
#include <speex/speex_resampler.hpp>
#endif
#include <ememory/memory.h>
#include <ememory/memory.hpp>
namespace audio {
namespace drain {

View File

@ -4,6 +4,6 @@
* @license APACHE v2.0 (see license file)
*/
#include "debug.h"
#include "debug.hpp"

View File

@ -6,8 +6,8 @@
#pragma once
#include <string>
#include <audio/format.h>
#include <audio/drain/channel.h>
#include <audio/format.hpp>
#include <audio/drain/channel.hpp>
#include <chrono>
namespace audio {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/drain/debug.h>
#include <audio/drain/debug.hpp>
int32_t audio::drain::getLogId() {

View File

@ -7,7 +7,7 @@
#ifndef __AUDIO_DRAIN_DEBUG_H__
#define __AUDIO_DRAIN_DEBUG_H__
#include <elog/log.h>
#include <elog/log.hpp>
namespace audio {
namespace drain {

View File

@ -48,23 +48,23 @@ def create(target, module_name):
])
my_module.add_header_file([
'audio/drain/debug.h',
'audio/drain/debugRemove.h',
'audio/drain/airtalgo.h',
'audio/drain/Algo.h',
'audio/drain/ChannelReorder.h',
'audio/drain/CircularBuffer.h',
'audio/drain/EndPointCallback.h',
'audio/drain/EndPoint.h',
'audio/drain/EndPointRead.h',
'audio/drain/EndPointWrite.h',
'audio/drain/FormatUpdate.h',
'audio/drain/Process.h',
'audio/drain/Resampler.h',
'audio/drain/Volume.h',
'audio/drain/IOFormatInterface.h',
'audio/drain/AutoLogInOut.h',
'audio/drain/Equalizer.h'
'audio/drain/debug.hpp',
'audio/drain/debugRemove.hpp',
'audio/drain/airtalgo.hpp',
'audio/drain/Algo.hpp',
'audio/drain/ChannelReorder.hpp',
'audio/drain/CircularBuffer.hpp',
'audio/drain/EndPointCallback.hpp',
'audio/drain/EndPoint.hpp',
'audio/drain/EndPointRead.hpp',
'audio/drain/EndPointWrite.hpp',
'audio/drain/FormatUpdate.hpp',
'audio/drain/Process.hpp',
'audio/drain/Resampler.hpp',
'audio/drain/Volume.hpp',
'audio/drain/IOFormatInterface.hpp',
'audio/drain/AutoLogInOut.hpp',
'audio/drain/Equalizer.hpp'
])
# TODO: my_module.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE")

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
#include <audio/drain/Process.h>
#include <audio/drain/Process.hpp>

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
#include <audio/drain/Process.h>
#include <audio/drain/Process.hpp>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
#include <audio/drain/Process.h>
#include <audio/drain/Process.hpp>

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/etk.h>
#include <test-debug/debug.h>
#include <etk/etk.hpp>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
int main(int _argc, const char** _argv) {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
#include <audio/drain/Process.h>
#include <audio/drain/Process.hpp>

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <gtest/gtest.h>
#include <audio/drain/Process.h>
#include <audio/drain/Process.hpp>

View File

@ -4,15 +4,15 @@
* @license APACHE v2.0 (see license file)
*/
#include <etk/types.h>
#include <ewol/ewol.h>
#include <appl/debug.h>
#include <appl/Windows.h>
#include <ewol/widget/Label.h>
#include <ewol/widget/Entry.h>
#include <ewol/widget/Button.h>
#include <ewol/widget/Slider.h>
#include <audio/drain/Equalizer.h>
#include <etk/types.hpp>
#include <ewol/ewol.hpp>
#include <appl/debug.hpp>
#include <appl/Windows.hpp>
#include <ewol/widget/Label.hpp>
#include <ewol/widget/Entry.hpp>
#include <ewol/widget/Button.hpp>
#include <ewol/widget/Slider.hpp>
#include <audio/drain/Equalizer.hpp>
define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
do { \
@ -217,10 +217,10 @@ void appl::Windows::onCallbackFrequencySlider(const float& _value) {
onCallbackStart();
}
#include <appl/debug.h>
#include <audio/algo/drain/BiQuad.h>
#include <audio/float_t.h>
#include <audio/int16_16_t.h>
#include <appl/debug.hpp>
#include <audio/algo/drain/BiQuad.hpp>
#include <audio/float_t.hpp>
#include <audio/int16_16_t.hpp>
void appl::Windows::onCallbackStart() {
APPL_INFO("start ");

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Layer.h>
#include <ewol/widget/Composer.h>
#include <audio/algo/drain/BiQuadType.h>
#include <appl/widget/DisplayFrequency.h>
#include <ewol/widget/Windows.hpp>
#include <ewol/widget/Layer.hpp>
#include <ewol/widget/Composer.hpp>
#include <audio/algo/drain/BiQuadType.hpp>
#include <appl/widget/DisplayFrequency.hpp>
namespace appl {
class Windows : public ewol::widget::Windows {

View File

@ -5,7 +5,7 @@
*/
#include <appl/debug.h>
#include <appl/debug.hpp>
int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("drain-equalizer");

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <elog/log.h>
#include <elog/log.hpp>
namespace appl {
int32_t getLogId();

View File

@ -5,16 +5,16 @@
*/
#include <etk/types.h>
#include <ewol/ewol.h>
#include <gale/context/commandLine.h>
#include <etk/types.hpp>
#include <ewol/ewol.hpp>
#include <gale/context/commandLine.hpp>
#include <appl/debug.h>
#include <appl/Windows.h>
#include <ewol/object/Object.h>
#include <ewol/widget/Manager.h>
#include <ewol/context/Context.h>
#include <appl/widget/DisplayFrequency.h>
#include <appl/debug.hpp>
#include <appl/Windows.hpp>
#include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
#include <appl/widget/DisplayFrequency.hpp>
class MainApplication : public ewol::context::Application {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <appl/widget/DisplayFrequency.h>
#include <appl/debug.h>
#include <etk/tool.h>
#include <appl/widget/DisplayFrequency.hpp>
#include <appl/debug.hpp>
#include <etk/tool.hpp>
appl::widget::DisplayFrequency::DisplayFrequency() :
m_gainMin(0.0f),

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
#include <ewol/compositing/Text.h>
#include <ewol/widget/Manager.h>
#include <ewol/widget/Widget.hpp>
#include <ewol/compositing/Drawing.hpp>
#include <ewol/compositing/Text.hpp>
#include <ewol/widget/Manager.hpp>
namespace appl {
namespace widget {

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file)
*/
#include <ewol/ewol.h>
#include <appl/debug.h>
#include <appl/Windows.h>
#include <ewol/widget/Label.h>
#include <ewol/widget/Entry.h>
#include <ewol/widget/Button.h>
#include <ewol/widget/Slider.h>
#include <ewol/ewol.hpp>
#include <appl/debug.hpp>
#include <appl/Windows.hpp>
#include <ewol/widget/Label.hpp>
#include <ewol/widget/Entry.hpp>
#include <ewol/widget/Button.hpp>
#include <ewol/widget/Slider.hpp>
#define APPL_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
do { \

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Layer.h>
#include <ewol/widget/Composer.h>
#include <audio/drain/Equalizer.h>
#include <appl/widget/DisplayFrequency.h>
#include <ewol/widget/Windows.hpp>
#include <ewol/widget/Layer.hpp>
#include <ewol/widget/Composer.hpp>
#include <audio/drain/Equalizer.hpp>
#include <appl/widget/DisplayFrequency.hpp>
namespace appl {
class Windows : public ewol::widget::Windows {

View File

@ -5,7 +5,7 @@
*/
#include <appl/debug.h>
#include <appl/debug.hpp>
int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("drain-equalizer");

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <elog/log.h>
#include <elog/log.hpp>
namespace appl {
int32_t getLogId();

View File

@ -5,16 +5,16 @@
*/
#include <etk/types.h>
#include <ewol/ewol.h>
#include <gale/context/commandLine.h>
#include <etk/types.hpp>
#include <ewol/ewol.hpp>
#include <gale/context/commandLine.hpp>
#include <appl/debug.h>
#include <appl/Windows.h>
#include <ewol/object/Object.h>
#include <ewol/widget/Manager.h>
#include <ewol/context/Context.h>
#include <appl/widget/DisplayFrequency.h>
#include <appl/debug.hpp>
#include <appl/Windows.hpp>
#include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.hpp>
#include <appl/widget/DisplayFrequency.hpp>
class MainApplication : public ewol::context::Application {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <appl/widget/DisplayFrequency.h>
#include <appl/debug.h>
#include <etk/tool.h>
#include <appl/widget/DisplayFrequency.hpp>
#include <appl/debug.hpp>
#include <etk/tool.hpp>
appl::widget::DisplayFrequency::DisplayFrequency() :
m_gainMin(0.0f),

View File

@ -5,10 +5,10 @@
*/
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
#include <ewol/compositing/Text.h>
#include <ewol/widget/Manager.h>
#include <ewol/widget/Widget.hpp>
#include <ewol/compositing/Drawing.hpp>
#include <ewol/compositing/Text.hpp>
#include <ewol/widget/Manager.hpp>
namespace appl {
namespace widget {