Mercurial > hg > pyin
comparison VampYin.cpp @ 4:3cf34d0effed
Ensure that parameters are initialised with their default values; avoid crashing on empty input (both flagged by vamp-plugin-tester)
author | Chris Cannam |
---|---|
date | Thu, 28 Nov 2013 13:08:57 +0000 |
parents | 99bac62ee2da |
children | 5945b8905d1f |
comparison
equal
deleted
inserted
replaced
3:72f014d0bce0 | 4:3cf34d0effed |
---|---|
28 m_outNoF0(0), | 28 m_outNoF0(0), |
29 m_outNoPeriodicity(0), | 29 m_outNoPeriodicity(0), |
30 m_outNoRms(0), | 30 m_outNoRms(0), |
31 m_outNoSalience(0), | 31 m_outNoSalience(0), |
32 m_yinParameter(0.15f), | 32 m_yinParameter(0.15f), |
33 m_outputUnvoiced(0.0f) | 33 m_outputUnvoiced(2.0f) |
34 { | 34 { |
35 } | 35 } |
36 | 36 |
37 VampYin::~VampYin() | 37 VampYin::~VampYin() |
38 { | 38 { |