[DEV] this work for nao

This commit is contained in:
Edouard DUPIN 2015-03-10 21:41:43 +00:00
parent 3a4982d788
commit a490cd2d85
3 changed files with 11 additions and 8 deletions

View File

@ -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:{

View File

@ -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();

View File

@ -58,7 +58,7 @@ namespace river_test_record_callback {
void run() {
m_interface->start();
// wait 2 second ...
usleep(2000000);
usleep(20000000);
m_interface->stop();