[DEBUG] correct thread setting

This commit is contained in:
Edouard DUPIN 2015-02-25 21:28:07 +01:00
parent 94fb75709c
commit 17635840ae

View File

@ -611,7 +611,7 @@ class testCallbackVolume {
}
};
void threadVolume(void* _userData) {
static void threadVolume() {
std11::shared_ptr<river::Manager> manager;
manager = river::Manager::create("testApplication");
std11::shared_ptr<testCallbackVolume> process = std11::make_shared<testCallbackVolume>(manager);
@ -623,7 +623,7 @@ void threadVolume(void* _userData) {
TEST(TestALL, testInputCallBackMicClean) {
std11::shared_ptr<river::Manager> manager;
manager = river::Manager::create("testApplication");
std11::thread tmpThread(&threadVolume, nullptr);
std11::thread tmpThread(std11::bind(&threadVolume));
usleep(100000);
APPL_INFO("test input (callback mode)");