[DEV] this work for nao
This commit is contained in:
parent
3a4982d788
commit
a490cd2d85
@ -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:{
|
||||
|
@ -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();
|
||||
|
@ -58,7 +58,7 @@ namespace river_test_record_callback {
|
||||
void run() {
|
||||
m_interface->start();
|
||||
// wait 2 second ...
|
||||
usleep(2000000);
|
||||
usleep(20000000);
|
||||
|
||||
|
||||
m_interface->stop();
|
||||
|
Loading…
Reference in New Issue
Block a user