floor, not FLOOR in examples, only inst_headers for user doc
Patches applied:
* piem@altern.org--aubio-fraise/aubio--mainline--0.3.2--patch-9
use floor not FLOOR in aubionotes and utils
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py
-FILE_PATTERNS =
+FILE_PATTERNS = *.h
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
-EXCLUDE =
+EXCLUDE = ../src/aubio_priv.h
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
/* kill old note */
send_noteon(curnote,0);
/* get and send new one */
- send_noteon(pitch,127+(int)FLOOR(curlevel));
+ send_noteon(pitch,127+(int)floor(curlevel));
curnote = pitch;
}
curnote = newnote;
/* get and send new one */
if (curnote>45){
- send_noteon(curnote,127+(int)FLOOR(curlevel));
+ send_noteon(curnote,127+(int)floor(curlevel));
}
}
} // if median
void send_noteon(int pitch, int velo)
{
- smpl_t mpitch = (FLOOR)(aubio_freqtomidi(pitch)+.5);
+ smpl_t mpitch = floor(aubio_freqtomidi(pitch)+.5);
/* we should check if we use midi here, not jack */
#if ALSA_SUPPORT
if (usejack) {