Revision 1:d7ef749300ed Test.h

View differences:

Test.h
81 81
    // may throw FailedToLoadPlugin
82 82
    Vamp::Plugin *load(std::string key, float rate = 44100);
83 83

  
84
    float **createBlock(size_t channels, size_t blocksize);
85
    void destroyBlock(float **blocks, size_t channels);
86

  
87
    bool initDefaults(Vamp::Plugin *, size_t &channels,
88
                      size_t &step, size_t &block, Results &r);
89

  
84 90
    void appendFeatures(Vamp::Plugin::FeatureSet &a,
85 91
                        const Vamp::Plugin::FeatureSet &b);
92

  
93
    bool allFeaturesValid(const Vamp::Plugin::FeatureSet &); // i.e. no NaN/inf
86 94
};
87 95

  
88 96
extern bool operator==(const Vamp::Plugin::FeatureSet &a,

Also available in: Unified diff