[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-10-02 22:19:26 +02:00
parent bc47714cff
commit 7d38eb190d
47 changed files with 165 additions and 165 deletions

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file)
*/
#include "debug.h"
#include "Interface.h"
#include "io/Node.h"
#include <audio/drain/EndPointCallback.h>
#include <audio/drain/EndPointWrite.h>
#include <audio/drain/EndPointRead.h>
#include <audio/drain/Volume.h>
#include "debug.hpp"
#include "Interface.hpp"
#include "io/Node.hpp"
#include <audio/drain/EndPointCallback.hpp>
#include <audio/drain/EndPointWrite.hpp>
#include <audio/drain/EndPointRead.hpp>
#include <audio/drain/Volume.hpp>
audio::river::Interface::Interface(void) :
m_node(),

View File

@ -11,15 +11,15 @@
#include <mutex>
#include <chrono>
#include <functional>
#include <ememory/memory.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <audio/drain/Process.h>
#include <audio/drain/EndPointCallback.h>
#include <audio/drain/EndPointWrite.h>
#include <ejson/ejson.h>
#include <etk/os/FSNode.h>
#include <audio/Time.h>
#include <ememory/memory.hpp>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <audio/drain/Process.hpp>
#include <audio/drain/EndPointCallback.hpp>
#include <audio/drain/EndPointWrite.hpp>
#include <ejson/ejson.hpp>
#include <etk/os/FSNode.hpp>
#include <audio/Time.hpp>
namespace audio {
namespace river {

View File

@ -4,14 +4,14 @@
* @license APACHE v2.0 (see license file)
*/
#include "Manager.h"
#include "Interface.h"
#include "Manager.hpp"
#include "Interface.hpp"
#include <stdexcept>
#include "io/Manager.h"
#include "io/Node.h"
#include "debug.h"
#include <ejson/ejson.h>
#include "io/Manager.hpp"
#include "io/Node.hpp"
#include "debug.hpp"
#include <ejson/ejson.hpp>
static std::mutex g_mutex;
static std::vector<ememory::WeakPtr<audio::river::Manager> > g_listOfAllManager;

View File

@ -7,11 +7,11 @@
#include <string>
#include <stdint.h>
#include <ememory/memory.h>
#include <audio/river/Interface.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <ejson/ejson.h>
#include <ememory/memory.hpp>
#include <audio/river/Interface.hpp>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <ejson/ejson.hpp>
namespace audio {
namespace river {

View File

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

View File

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

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/io/Group.h>
#include <audio/river/debug.h>
#include "Node.h"
#include "NodeAEC.h"
#include "NodeOrchestra.h"
#include "NodePortAudio.h"
#include "Node.h"
#include <audio/river/io/Group.hpp>
#include <audio/river/debug.hpp>
#include "Node.hpp"
#include "NodeAEC.hpp"
#include "NodeOrchestra.hpp"
#include "NodePortAudio.hpp"
#include "Node.hpp"
void audio::river::io::Group::createFrom(const ejson::Document& _obj, const std::string& _name) {
RIVER_INFO("Create Group[" << _name << "] (START) ___________________________");

View File

@ -8,8 +8,8 @@
#include <string>
#include <vector>
#include <ejson/ejson.h>
#include <etk/os/FSNode.h>
#include <ejson/ejson.hpp>
#include <etk/os/FSNode.hpp>
namespace audio {
namespace river {

View File

@ -4,17 +4,17 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/io/Manager.h>
#include <audio/river/debug.h>
#include <audio/river/river.h>
#include <audio/river/io/Node.h>
#include <audio/river/io/NodeAEC.h>
#include <audio/river/io/NodeMuxer.h>
#include <audio/river/io/NodeOrchestra.h>
#include <audio/river/io/NodePortAudio.h>
#include <etk/os/FSNode.h>
#include <ememory/memory.h>
#include <etk/types.h>
#include <audio/river/io/Manager.hpp>
#include <audio/river/debug.hpp>
#include <audio/river/river.hpp>
#include <audio/river/io/Node.hpp>
#include <audio/river/io/NodeAEC.hpp>
#include <audio/river/io/NodeMuxer.hpp>
#include <audio/river/io/NodeOrchestra.hpp>
#include <audio/river/io/NodePortAudio.hpp>
#include <etk/os/FSNode.hpp>
#include <ememory/memory.hpp>
#include <etk/types.hpp>
#include <utility>
#ifdef AUDIO_RIVER_BUILD_PORTAUDIO

View File

@ -13,12 +13,12 @@
#include <mutex>
#include <chrono>
#include <functional>
#include <ememory/memory.h>
#include <audio/format.h>
#include <audio/channel.h>
#include <ejson/ejson.h>
#include <audio/drain/Volume.h>
#include <audio/river/io/Group.h>
#include <ememory/memory.hpp>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include <ejson/ejson.hpp>
#include <audio/drain/Volume.hpp>
#include <audio/river/io/Group.hpp>
namespace audio {
namespace river {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include "Node.h"
#include <audio/river/debug.h>
#include "Node.hpp"
#include <audio/river/debug.hpp>
audio::river::io::Node::Node(const std::string& _name, const ejson::Object& _config) :
m_config(_config),

View File

@ -11,14 +11,14 @@
#include <stdint.h>
#include <chrono>
#include <functional>
#include <ememory/memory.h>
#include <audio/format.h>
#include <audio/channel.h>
#include "Manager.h"
#include <audio/river/Interface.h>
#include <audio/drain/IOFormatInterface.h>
#include <audio/drain/Volume.h>
#include <etk/os/FSNode.h>
#include <ememory/memory.hpp>
#include <audio/format.hpp>
#include <audio/channel.hpp>
#include "Manager.hpp"
#include <audio/river/Interface.hpp>
#include <audio/drain/IOFormatInterface.hpp>
#include <audio/drain/Volume.hpp>
#include <etk/os/FSNode.hpp>
namespace audio {
namespace river {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/io/NodeAEC.h>
#include <audio/river/debug.h>
#include <etk/types.h>
#include <ememory/memory.h>
#include <audio/river/io/NodeAEC.hpp>
#include <audio/river/debug.hpp>
#include <etk/types.hpp>
#include <ememory/memory.hpp>
#include <functional>
ememory::SharedPtr<audio::river::io::NodeAEC> audio::river::io::NodeAEC::create(const std::string& _name, const ejson::Object& _config) {

View File

@ -5,9 +5,9 @@
*/
#pragma once
#include <audio/river/io/Node.h>
#include <audio/river/Interface.h>
#include <audio/drain/CircularBuffer.h>
#include <audio/river/io/Node.hpp>
#include <audio/river/Interface.hpp>
#include <audio/drain/CircularBuffer.hpp>
namespace audio {
namespace river {

View File

@ -6,9 +6,9 @@
#ifdef AUDIO_RIVER_BUILD_FILE
#include <audio/river/io/NodeFile.h>
#include <audio/river/debug.h>
#include <ememory/memory.h>
#include <audio/river/io/NodeFile.hpp>
#include <audio/river/debug.hpp>
#include <ememory/memory.hpp>
int32_t audio::river::io::NodeFile::recordCallback(const void* _inputBuffer,
const audio::Time& _timeInput,

View File

@ -7,8 +7,8 @@
#ifdef AUDIO_RIVER_BUILD_FILE
#include <audio/river/io/Node.h>
#include <audio/orchestra/Interface.h>
#include <audio/river/io/Node.hpp>
#include <audio/orchestra/Interface.hpp>
namespace audio {
namespace river {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/io/NodeMuxer.h>
#include <audio/river/debug.h>
#include <etk/types.h>
#include <ememory/memory.h>
#include <audio/river/io/NodeMuxer.hpp>
#include <audio/river/debug.hpp>
#include <etk/types.hpp>
#include <ememory/memory.hpp>
#include <functional>
ememory::SharedPtr<audio::river::io::NodeMuxer> audio::river::io::NodeMuxer::create(const std::string& _name, const ejson::Object& _config) {

View File

@ -5,9 +5,9 @@
*/
#pragma once
#include <audio/river/io/Node.h>
#include <audio/river/Interface.h>
#include <audio/drain/CircularBuffer.h>
#include <audio/river/io/Node.hpp>
#include <audio/river/Interface.hpp>
#include <audio/drain/CircularBuffer.hpp>
namespace audio {
namespace river {

View File

@ -6,9 +6,9 @@
#ifdef AUDIO_RIVER_BUILD_ORCHESTRA
#include <audio/river/io/NodeOrchestra.h>
#include <audio/river/debug.h>
#include <ememory/memory.h>
#include <audio/river/io/NodeOrchestra.hpp>
#include <audio/river/debug.hpp>
#include <ememory/memory.hpp>
int32_t audio::river::io::NodeOrchestra::recordCallback(const void* _inputBuffer,
const audio::Time& _timeInput,

View File

@ -7,8 +7,8 @@
#ifdef AUDIO_RIVER_BUILD_ORCHESTRA
#include <audio/river/io/Node.h>
#include <audio/orchestra/Interface.h>
#include <audio/river/io/Node.hpp>
#include <audio/orchestra/Interface.hpp>
namespace audio {
namespace river {

View File

@ -6,11 +6,11 @@
#ifdef AUDIO_RIVER_BUILD_PORTAUDIO
#include <audio/river/io/NodePortAudio.h>
#include <audio/river/debug.h>
#include <ememory/memory.h>
#include <audio/Time.h>
#include <audio/Duration.h>
#include <audio/river/io/NodePortAudio.hpp>
#include <audio/river/debug.hpp>
#include <ememory/memory.hpp>
#include <audio/Time.hpp>
#include <audio/Duration.hpp>
static int portAudioStreamCallback(const void *_input,
void *_output,

View File

@ -7,9 +7,9 @@
#ifdef AUDIO_RIVER_BUILD_PORTAUDIO
#include <audio/river/Interface.h>
#include <audio/river/io/Node.h>
#include <portaudio/portaudio.h>
#include <audio/river/Interface.hpp>
#include <audio/river/io/Node.hpp>
#include <portaudio/portaudio.hpp>
namespace audio {
namespace river {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/river.h>
#include <audio/river/debug.h>
#include <audio/river/io/Manager.h>
#include <audio/river/river.hpp>
#include <audio/river/debug.hpp>
#include <audio/river/io/Manager.hpp>
static bool river_isInit = false;
static std::string river_configFile = "";

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <etk/types.h>
#include <etk/types.hpp>
/**
* @brief Audio library namespace
*/

View File

@ -40,12 +40,12 @@ def create(target, module_name):
'audio/river/io/Manager.cpp'
])
my_module.add_header_file([
'audio/river/river.h',
'audio/river/Manager.h',
'audio/river/Interface.h',
'audio/river/io/Group.h',
'audio/river/io/Node.h',
'audio/river/io/Manager.h'
'audio/river/river.hpp',
'audio/river/Manager.hpp',
'audio/river/Interface.hpp',
'audio/river/io/Group.hpp',
'audio/river/io/Node.hpp',
'audio/river/io/Manager.hpp'
])
my_module.add_optionnal_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
my_module.add_optionnal_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])

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/Button.h>
#include <audio/river/widget/TemporalViewer.h>
#include <etk/tool.h>
#include <ewol/ewol.hpp>
#include <appl/debug.hpp>
#include <appl/Windows.hpp>
#include <ewol/widget/Label.hpp>
#include <ewol/widget/Button.hpp>
#include <audio/river/widget/TemporalViewer.hpp>
#include <etk/tool.hpp>
appl::Windows::Windows() :
m_composer(nullptr) {

View File

@ -5,8 +5,8 @@
*/
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Composer.h>
#include <ewol/widget/Windows.hpp>
#include <ewol/widget/Composer.hpp>
namespace appl {
class Windows : public ewol::widget::Windows {

View File

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

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 <audio/river/widget/TemporalViewer.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 <audio/river/widget/TemporalViewer.hpp>
static const std::string configurationRiver =
"{\n"

View File

@ -6,12 +6,12 @@
//! [audio_river_sample_read_all]
//! [audio_river_sample_include]
#include <audio/river/river.h>
#include <audio/river/Manager.h>
#include <audio/river/Interface.h>
#include <audio/river/river.hpp>
#include <audio/river/Manager.hpp>
#include <audio/river/Interface.hpp>
//! [audio_river_sample_include]
#include <etk/os/FSNode.h>
#include <etk/etk.h>
#include <etk/os/FSNode.hpp>
#include <etk/etk.hpp>
#include <unistd.h>

View File

@ -6,10 +6,10 @@
//! [audio_river_sample_write_all]
#include <audio/river/river.h>
#include <audio/river/Manager.h>
#include <audio/river/Interface.h>
#include <etk/etk.h>
#include <audio/river/river.hpp>
#include <audio/river/Manager.hpp>
#include <audio/river/Interface.hpp>
#include <etk/etk.hpp>
#include <unistd.h>
//! [audio_river_sample_write_config_file]

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#define TEST_SAVE_FILE_MACRO(type,fileName,dataPointer,nbElement) \
do { \
@ -27,25 +27,25 @@
#include <audio/river/river.h>
#include <audio/river/Manager.h>
#include <audio/river/Interface.h>
#include <audio/river/river.hpp>
#include <audio/river/Manager.hpp>
#include <audio/river/Interface.hpp>
#include <gtest/gtest.h>
#include <etk/etk.h>
#include <etk/os/FSNode.h>
#include <math.h>
#include <etk/etk.hpp>
#include <etk/os/FSNode.hpp>
#include <cmath>
#include <sstream>
#include <unistd.h>
#include <thread>
#include "testAEC.h"
#include "testEchoDelay.h"
#include "testFormat.h"
#include "testMuxer.h"
#include "testPlaybackCallback.h"
#include "testPlaybackWrite.h"
#include "testRecordCallback.h"
#include "testRecordRead.h"
#include "testVolume.h"
#include "testAEC.hpp"
#include "testEchoDelay.hpp"
#include "testFormat.hpp"
#include "testMuxer.hpp"
#include "testPlaybackCallback.hpp"
#include "testPlaybackWrite.hpp"
#include "testRecordCallback.hpp"
#include "testRecordRead.hpp"
#include "testVolume.hpp"
int main(int _argc, const char** _argv) {
// init Google test :

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
namespace river_test_echo_delay {
class TestClass {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
namespace river_test_muxer {
class TestClass {

View File

@ -5,7 +5,7 @@
*/
#pragma once
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
namespace river_test_record_callback {
static const std::string configurationRiver =

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file)
*/
#include <audio/river/widget/debug.h>
#include <audio/river/widget/TemporalViewer.h>
#include <etk/tool.h>
#include <audio/river/widget/debug.hpp>
#include <audio/river/widget/TemporalViewer.hpp>
#include <etk/tool.hpp>
static const int32_t nbSecond = 3;

View File

@ -5,11 +5,11 @@
*/
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
#include <audio/river/river.h>
#include <audio/river/Manager.h>
#include <audio/river/Interface.h>
#include <ewol/widget/Widget.hpp>
#include <ewol/compositing/Drawing.hpp>
#include <audio/river/river.hpp>
#include <audio/river/Manager.hpp>
#include <audio/river/Interface.hpp>
#include <mutex>
namespace audio {

View File

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

View File

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