projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/musicutils.h: aubio_level_detection input is a constant
[aubio.git]
/
src
/
mathutils.c
diff --git
a/src/mathutils.c
b/src/mathutils.c
index
5f7ac27
..
01b3519
100644
(file)
--- a/
src/mathutils.c
+++ b/
src/mathutils.c
@@
-564,7
+564,7
@@
aubio_silence_detection (const fvec_t * o, smpl_t threshold)
}
smpl_t
-aubio_level_detection (fvec_t * o, smpl_t threshold)
+aubio_level_detection (
const
fvec_t * o, smpl_t threshold)
{
smpl_t db_spl = aubio_db_spl (o);
if (db_spl < threshold) {