Mercurial > hg > piper-cpp
comparison vamp-support/CountingPluginHandleMapper.h @ 84:db9a6ab618bc
Client builds; does not run
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 12 Oct 2016 11:59:57 +0100 |
parents | d9e85a65d45b |
children | 427c4c725085 |
comparison
equal
deleted
inserted
replaced
83:154e94ea84d4 | 84:db9a6ab618bc |
---|---|
49 public: | 49 public: |
50 CountingPluginHandleMapper() : m_nextHandle(1) { } | 50 CountingPluginHandleMapper() : m_nextHandle(1) { } |
51 | 51 |
52 void addPlugin(Vamp::Plugin *p) { | 52 void addPlugin(Vamp::Plugin *p) { |
53 Handle h = m_nextHandle++; | 53 Handle h = m_nextHandle++; |
54 m_sub.addPlugin(p, h); | 54 m_sub.addPlugin(h, p); |
55 } | 55 } |
56 | 56 |
57 void removePlugin(Handle h) { | 57 void removePlugin(Handle h) { |
58 m_sub.removePlugin(h); | 58 m_sub.removePlugin(h); |
59 } | 59 } |