[DEV] correct version of CPP

This commit is contained in:
Edouard DUPIN 2015-02-25 22:05:00 +01:00
parent 7af6577e64
commit d1127293cd
8 changed files with 14 additions and 53 deletions

View File

@ -13,15 +13,9 @@
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#if __cplusplus >= 201103L
#include <chrono>
#include <functional>
#include <memory>
#else
#include <etk/chrono.h>
#include <etk/functional.h>
#include <etk/memory.h>
#endif
#include <etk/chrono.h>
#include <etk/functional.h>
#include <etk/memory.h>
#include "AutoLogInOut.h"
#include "IOFormatInterface.h"
#include "debug.h"

View File

@ -8,12 +8,7 @@
#define __AIRT_ALGO_END_POINT_CALLBACK_H__
#include <drain/EndPoint.h>
#if __cplusplus >= 201103L
#include <functional>
#else
#include <etk/functional.h>
#endif
#include <etk/functional.h>
namespace drain {
typedef std11::function<void (void* _data,

View File

@ -8,13 +8,8 @@
#define __AIRT_ALGO_ALGO_END_POINT_WRITE_H__
#include <drain/EndPoint.h>
#if __cplusplus >= 201103L
#include <functional>
#include <mutex>
#else
#include <etk/functional.h>
#include <etk/mutex.h>
#endif
#include <etk/functional.h>
#include <etk/mutex.h>
namespace drain{
typedef std11::function<void (const std11::chrono::system_clock::time_point& _time,

View File

@ -13,15 +13,9 @@
#include <stdint.h>
#include <audio/format.h>
#include <audio/channel.h>
#if __cplusplus >= 201103L
#include <chrono>
#include <functional>
#include <memory>
#else
#include <etk/chrono.h>
#include <etk/functional.h>
#include <etk/memory.h>
#endif
#include <etk/chrono.h>
#include <etk/functional.h>
#include <etk/memory.h>
#include "AutoLogInOut.h"
#include "debug.h"

View File

@ -14,13 +14,8 @@
#include <audio/format.h>
#include <audio/channel.h>
#include <drain/Algo.h>
#if __cplusplus >= 201103L
#include <memory>
#include <chrono>
#else
#include <etk/chrono.h>
#include <etk/memory.h>
#endif
#include <etk/chrono.h>
#include <etk/memory.h>
namespace drain{
class Process {

View File

@ -11,11 +11,7 @@
#ifdef HAVE_SPEEX_DSP_RESAMPLE
#include <speex/speex_resampler.h>
#endif
#if __cplusplus >= 201103L
#include <memory>
#else
#include <etk/memory.h>
#endif
#include <etk/memory.h>
namespace drain {
// TODO: Manage change timestamp when pull mode

View File

@ -11,11 +11,7 @@
#ifdef HAVE_SPEEX_DSP_RESAMPLE
#include <speex/speex_resampler.h>
#endif
#if __cplusplus >= 201103L
#include <memory>
#else
#include <etk/memory.h>
#endif
#include <etk/memory.h>
namespace drain {
// data structure.

View File

@ -10,11 +10,7 @@
#include <string>
#include <audio/format.h>
#include <drain/channel.h>
#if __cplusplus >= 201103L
#include <chrono>
#else
#include <etk/chrono.h>
#endif
#include <etk/chrono.h>
namespace drain {
/**