comparison vamp-sdk/PluginHostAdapter.cpp @ 50:b907557b2fb9

* Add a structure for API versioning
author cannam
date Tue, 27 Feb 2007 12:48:17 +0000
parents aa64a46320d4
children 1e7ab0399852
comparison
equal deleted inserted replaced
49:aa64a46320d4 50:b907557b2fb9
136 if (m_descriptor->inputDomain == vampFrequencyDomain) { 136 if (m_descriptor->inputDomain == vampFrequencyDomain) {
137 return FrequencyDomain; 137 return FrequencyDomain;
138 } else { 138 } else {
139 return TimeDomain; 139 return TimeDomain;
140 } 140 }
141 }
142
143 unsigned int
144 PluginHostAdapter::getVampApiVersion() const
145 {
146 return m_descriptor->vampApiVersion;
141 } 147 }
142 148
143 std::string 149 std::string
144 PluginHostAdapter::getIdentifier() const 150 PluginHostAdapter::getIdentifier() const
145 { 151 {