diff --git a/data/hardwareNao.json b/data/hardwareNao.json index e37c9e1..76b21de 100644 --- a/data/hardwareNao.json +++ b/data/hardwareNao.json @@ -7,13 +7,13 @@ #name:"default", timestamp-mode:"trigered", }, - group:"baseIOSynchrone", + #group:"baseIOSynchrone", frequency:48000, channel-map:[ "front-left", "front-right", ], type:"int16", - nb-chunk:1024, + nb-chunk:6000, #volume-name:"MASTER", mux-demux-type:"int16-on-int32", }, @@ -21,19 +21,19 @@ io:"input", map-on:{ interface:"alsa", - name:"hw:0,0,0", - #name:"AD1989A_inputs", + #name:"hw:0,0,0", + name:"AD1989A_inputs", #name:"default", timestamp-mode:"trigered", }, - group:"baseIOSynchrone", + #group:"baseIOSynchrone", frequency:48000, channel-map:[ "front-left", "front-right" - #, "rear-left", "rear-right" + , "rear-left", "rear-right" ], type:"int16", - nb-chunk:1024, #16384, + nb-chunk:6000, #16384, mux-demux-type:"int16", }, microphone-rear:{ diff --git a/test/testEchoDelay.h b/test/testEchoDelay.h index 24b888b..36e65dc 100644 --- a/test/testEchoDelay.h +++ b/test/testEchoDelay.h @@ -343,6 +343,9 @@ namespace river_test_echo_delay { m_interfaceOut->start(); m_interfaceIn->start(); //m_interfaceFB->start(); + while (m_estimateVolumeInput == true) { + usleep(10000); + } usleep(10000000); //m_interfaceFB->stop(); m_interfaceIn->stop(); diff --git a/test/testRecordCallback.h b/test/testRecordCallback.h index ae8f525..f993bef 100644 --- a/test/testRecordCallback.h +++ b/test/testRecordCallback.h @@ -58,7 +58,7 @@ namespace river_test_record_callback { void run() { m_interface->start(); // wait 2 second ... - usleep(2000000); + usleep(20000000); m_interface->stop();