Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginHostAdapter.h @ 12:a3d35e11c3fe
* Avoid repeated malloc/free for returned feature lists -- reuse static
feature lists where possible. Need to document the host behaviour that
permits this (i.e. a returned feature list is only valid until the next
call to process, getRemainingFeatures or releaseFeatureSet)
author | cannam |
---|---|
date | Thu, 06 Apr 2006 15:12:25 +0000 |
parents | 83d3eb580731 |
children | c29eccb892f1 |
comparison
equal
deleted
inserted
replaced
11:6616075ec7b6 | 12:a3d35e11c3fe |
---|---|
77 FeatureSet process(float **inputBuffers, RealTime timestamp); | 77 FeatureSet process(float **inputBuffers, RealTime timestamp); |
78 | 78 |
79 FeatureSet getRemainingFeatures(); | 79 FeatureSet getRemainingFeatures(); |
80 | 80 |
81 protected: | 81 protected: |
82 void convertFeatures(VampFeatureList **, FeatureSet &); | 82 void convertFeatures(VampFeatureList *, FeatureSet &); |
83 | 83 |
84 const VampPluginDescriptor *m_descriptor; | 84 const VampPluginDescriptor *m_descriptor; |
85 VampPluginHandle m_handle; | 85 VampPluginHandle m_handle; |
86 }; | 86 }; |
87 | 87 |