Commit 93baf839 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3471] Send microphone data through if no spkrdata is arrived yet

parent b240bb7a
...@@ -244,7 +244,8 @@ int EchoCancel::process(SFLDataFormat *inputData, SFLDataFormat *outputData, int ...@@ -244,7 +244,8 @@ int EchoCancel::process(SFLDataFormat *inputData, SFLDataFormat *outputData, int
{ {
if(_spkrStoped) { if(_spkrStoped) {
return 0; bcopy(inputData, outputData, nbBytes);
return nbBytes;
} }
int byteSize = _smplPerFrame*sizeof(SFLDataFormat); int byteSize = _smplPerFrame*sizeof(SFLDataFormat);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment