From 7af6577e64c469a88fcdcfa88f5b58b6804b5db5 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 24 Feb 2015 22:20:11 +0100 Subject: [PATCH] [DEV] WORK on a port for BOOST --- drain/Algo.cpp | 4 +- drain/Algo.h | 26 +++++++----- drain/ChannelReorder.cpp | 6 +-- drain/ChannelReorder.h | 4 +- drain/EndPointCallback.cpp | 10 ++--- drain/EndPointCallback.h | 36 +++++++++------- drain/EndPointRead.cpp | 6 +-- drain/EndPointRead.h | 4 +- drain/EndPointWrite.cpp | 10 ++--- drain/EndPointWrite.h | 25 ++++++----- drain/FormatUpdate.cpp | 6 +-- drain/FormatUpdate.h | 4 +- drain/IOFormatInterface.cpp | 3 +- drain/IOFormatInterface.h | 16 ++++--- drain/Process.cpp | 61 +++++++++++++------------- drain/Process.h | 85 ++++++++++++++++++++----------------- drain/Resampler.cpp | 14 +++--- drain/Resampler.h | 12 ++++-- drain/Volume.cpp | 48 ++++++++++----------- drain/Volume.h | 14 +++--- drain/airtalgo.h | 6 ++- 21 files changed, 218 insertions(+), 182 deletions(-) diff --git a/drain/Algo.cpp b/drain/Algo.cpp index 2f37b6f..c4314fc 100644 --- a/drain/Algo.cpp +++ b/drain/Algo.cpp @@ -21,8 +21,8 @@ drain::Algo::Algo() : void drain::Algo::init() { // set notification callback : - m_input.setCallback(std::bind(&drain::Algo::configurationChangeLocal, this)); - m_output.setCallback(std::bind(&drain::Algo::configurationChangeLocal, this)); + m_input.setCallback(std11::bind(&drain::Algo::configurationChangeLocal, this)); + m_output.setCallback(std11::bind(&drain::Algo::configurationChangeLocal, this)); // first configure ==> update the internal parameters configurationChange(); } diff --git a/drain/Algo.h b/drain/Algo.h index 02a323c..2c9fe5e 100644 --- a/drain/Algo.h +++ b/drain/Algo.h @@ -13,15 +13,21 @@ #include #include