VampPluginSDK  2.1
_VampOutputDescriptor Struct Reference

#include <vamp.h>

List of all members.

Public Attributes

const char * identifier
 Computer-usable name of the output.
const char * name
 Human-readable name of the output.
const char * description
 Human-readable short text about the output.
const char * unit
 Human-readable name of the unit of the output.
int hasFixedBinCount
 1 if output has equal number of values for each returned result.
unsigned int binCount
 Number of values per result, if hasFixedBinCount.
const char ** binNames
 Names of returned value bins, if hasFixedBinCount.
int hasKnownExtents
 1 if each returned value falls within the same fixed min/max range.
float minValue
 Minimum value for a returned result in any bin, if hasKnownExtents.
float maxValue
 Maximum value for a returned result in any bin, if hasKnownExtents.
int isQuantized
 1 if returned results are quantized to a particular resolution.
float quantizeStep
 Quantization resolution for returned results, if isQuantized.
VampSampleType sampleType
 Time positioning method for returned results (see VampSampleType).
float sampleRate
 Sample rate of returned results, if sampleType is vampFixedSampleRate.
int hasDuration
 1 if the returned results for this output are known to have a duration field.

Detailed Description

Definition at line 118 of file vamp.h.


Member Data Documentation

Computer-usable name of the output.

Must not change. [a-zA-Z0-9_]

Definition at line 121 of file vamp.h.

Human-readable name of the output.

May be translatable.

Definition at line 124 of file vamp.h.

Human-readable short text about the output.

May be translatable.

Definition at line 127 of file vamp.h.

Human-readable name of the unit of the output.

Definition at line 130 of file vamp.h.

1 if output has equal number of values for each returned result.

Definition at line 133 of file vamp.h.

Number of values per result, if hasFixedBinCount.

Definition at line 136 of file vamp.h.

Names of returned value bins, if hasFixedBinCount.

May be NULL.

Definition at line 139 of file vamp.h.

1 if each returned value falls within the same fixed min/max range.

Definition at line 142 of file vamp.h.

Minimum value for a returned result in any bin, if hasKnownExtents.

Definition at line 145 of file vamp.h.

Maximum value for a returned result in any bin, if hasKnownExtents.

Definition at line 148 of file vamp.h.

1 if returned results are quantized to a particular resolution.

Definition at line 151 of file vamp.h.

Quantization resolution for returned results, if isQuantized.

Definition at line 154 of file vamp.h.

Time positioning method for returned results (see VampSampleType).

Definition at line 157 of file vamp.h.

Sample rate of returned results, if sampleType is vampFixedSampleRate.

"Resolution" of result, if sampleType is vampVariableSampleRate.

Definition at line 161 of file vamp.h.

1 if the returned results for this output are known to have a duration field.

This field is new in Vamp API version 2; it must not be tested for plugins that report an older API version in their plugin descriptor.

Definition at line 170 of file vamp.h.


The documentation for this struct was generated from the following file: