Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment