Mercurial > hg > vamp-plugin-sdk
comparison src/vamp-hostsdk/PluginBufferingAdapter.cpp @ 351:1a8a58e8ea7a
Remove unneeded variable
author | Chris Cannam |
---|---|
date | Thu, 28 Mar 2013 09:22:46 +0000 |
parents | 8037a36dcf9e |
children | bd9a63d35e71 |
comparison
equal
deleted
inserted
replaced
350:6ed927ab83de | 351:1a8a58e8ea7a |
---|---|
614 Feature &feature) | 614 Feature &feature) |
615 { | 615 { |
616 if (feature.hasTimestamp) { | 616 if (feature.hasTimestamp) { |
617 double secs = feature.timestamp.sec; | 617 double secs = feature.timestamp.sec; |
618 secs += feature.timestamp.nsec / 1e9; | 618 secs += feature.timestamp.nsec / 1e9; |
619 double eps = 0.00001; | |
620 m_fixedRateFeatureNos[outputNo] = | 619 m_fixedRateFeatureNos[outputNo] = |
621 int(secs * m_outputs[outputNo].sampleRate + 0.5); | 620 int(secs * m_outputs[outputNo].sampleRate + 0.5); |
622 } | 621 } |
623 | 622 |
624 feature.timestamp = RealTime::fromSeconds | 623 feature.timestamp = RealTime::fromSeconds |