mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[PATCH] Fixed building of sflphone-common on Maemo5
1. echocancel.cpp was missing #include <cmath> 2. astyle search was using find -exec (replaced with xargs)
This commit is contained in:

committed by
Pierre-Luc Bacon

parent
5e98ca7a1e
commit
315d64b951
@ -74,5 +74,5 @@ AM_CPPFLAGS = \
|
||||
indent:
|
||||
@echo "Indenting code:"
|
||||
if [ -f $(ASTYLERC) ] ; then \
|
||||
find $(top_srcdir)/src/ -regex ".*\.\(h\|cpp\)" -exec $(indent) --options=$(ASTYLERC) {} \; ; \
|
||||
find $(top_srcdir)/src/ -name \*.cpp -o -name \*.h | xargs $(indent) --options=$(ASTYLERC) ; \
|
||||
fi
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include "echocancel.h"
|
||||
|
||||
// #include <fstream>
|
||||
#include <cmath>
|
||||
|
||||
EchoCancel::EchoCancel (int smplRate, int frameLength) : _samplingRate (smplRate),
|
||||
_frameLength (frameLength),
|
||||
|
Reference in New Issue
Block a user