From: Chris Cannam Date: Thu, 18 Sep 2008 17:48:54 +0000 (+0000) Subject: * Add hasDuration to output descriptors X-Git-Tag: hgimport~28 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=29802b4ab952299cd505158f6430322c3a8e8643;p=vamp-aubio-plugins.git * Add hasDuration to output descriptors --- diff --git a/plugins/Notes.cpp b/plugins/Notes.cpp index 78b1ac3..11a73c2 100644 --- a/plugins/Notes.cpp +++ b/plugins/Notes.cpp @@ -338,6 +338,7 @@ Notes::getOutputDescriptors() const d.binCount = 2; d.binNames.push_back("Frequency"); d.binNames.push_back("Velocity"); + d.hasDuration = true; } d.hasKnownExtents = false; diff --git a/plugins/Silence.cpp b/plugins/Silence.cpp index 7369276..1a689fc 100644 --- a/plugins/Silence.cpp +++ b/plugins/Silence.cpp @@ -189,6 +189,7 @@ Silence::getOutputDescriptors() const d.hasKnownExtents = false; d.sampleType = OutputDescriptor::VariableSampleRate; d.sampleRate = 0; + d.hasDuration = true; list.push_back(d); d.identifier = "noisy"; @@ -199,6 +200,7 @@ Silence::getOutputDescriptors() const d.hasKnownExtents = false; d.sampleType = OutputDescriptor::VariableSampleRate; d.sampleRate = 0; + d.hasDuration = true; list.push_back(d); }