view vampyhost.h @ 4:825d787f12df

Toward using NumPy structures instead of low-level strings
author Chris Cannam
date Thu, 31 Jan 2013 17:44:37 +0000
parents cb0d3af1be4d
children 7987e3123909
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _VAMPYHOST_H_
#define _VAMPYHOST_H_

#include "vamp-hostsdk/Plugin.h"
#include <string>

//structure for holding plugin instance data
typedef struct {
    std::string key;
    std::string identifier;
    bool isInitialised;
    float inputSampleRate;
    size_t channels;
    size_t blockSize;
    size_t stepSize;
    Vamp::Plugin::FeatureSet output;
} PyPluginDescriptor;

#endif