/** @file * @author Edouard DUPIN * @copyright 2015, Edouard DUPIN, all right reserved * @license APACHE v2.0 (see license file) */ #include "debug.h" #include #include #include #include #include #include #include #include #include #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" #undef __class__ #define __class__ "test" /* static void threadVolume() { std11::shared_ptr manager; manager = river::Manager::create("testApplication"); std11::shared_ptr process = std11::make_shared(manager); usleep(100000); process->run(); process.reset(); usleep(500000); } TEST(TestALL, testInputCallBackMicClean) { std11::shared_ptr manager; manager = river::Manager::create("testApplication"); std11::thread tmpThread(std11::bind(&threadVolume)); usleep(30000); APPL_INFO("test input (callback mode)"); std11::shared_ptr process = std11::make_shared(manager, "microphone-clean"); process->run(); usleep(100000); process.reset(); usleep(500000); tmpThread.join(); } */ int main(int argc, char **argv) { // init Google test : ::testing::InitGoogleTest(&argc, const_cast(argv)); // the only one init for etk: etk::log::setLevel(etk::log::logLevelNone); for (int32_t iii=0; iii