Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginHostAdapter.cpp @ 26:c29eccb892f1
* Add forgotten getMin/MaxChannelCount to host adapter (thanks Craig)
author | cannam |
---|---|
date | Wed, 10 May 2006 11:44:40 +0000 |
parents | 6c5466fbea90 |
children | 13eae6cc6bac |
comparison
equal
deleted
inserted
replaced
25:abd05f5eee2f | 26:c29eccb892f1 |
---|---|
213 { | 213 { |
214 if (!m_handle) return 0; | 214 if (!m_handle) return 0; |
215 return m_descriptor->getPreferredBlockSize(m_handle); | 215 return m_descriptor->getPreferredBlockSize(m_handle); |
216 } | 216 } |
217 | 217 |
218 size_t | |
219 PluginHostAdapter::getMinChannelCount() const | |
220 { | |
221 if (!m_handle) return 0; | |
222 return m_descriptor->getMinChannelCount(m_handle); | |
223 } | |
224 | |
225 size_t | |
226 PluginHostAdapter::getMaxChannelCount() const | |
227 { | |
228 if (!m_handle) return 0; | |
229 return m_descriptor->getMaxChannelCount(m_handle); | |
230 } | |
231 | |
218 PluginHostAdapter::OutputList | 232 PluginHostAdapter::OutputList |
219 PluginHostAdapter::getOutputDescriptors() const | 233 PluginHostAdapter::getOutputDescriptors() const |
220 { | 234 { |
221 OutputList list; | 235 OutputList list; |
222 if (!m_handle) { | 236 if (!m_handle) { |