Mercurial > hg > svcore
comparison plugin/RealTimePluginFactory.h @ 1527:710e6250a401 zoom
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 17 Sep 2018 13:51:14 +0100 |
parents | 91bb68146dfc |
children | ad5f892c0c4d |
comparison
equal
deleted
inserted
replaced
1324:d4a28d1479a8 | 1527:710e6250a401 |
---|---|
84 | 84 |
85 /** | 85 /** |
86 * Instantiate a plugin. | 86 * Instantiate a plugin. |
87 */ | 87 */ |
88 virtual RealTimePluginInstance *instantiatePlugin(QString identifier, | 88 virtual RealTimePluginInstance *instantiatePlugin(QString identifier, |
89 int clientId, | 89 int clientId, |
90 int position, | 90 int position, |
91 sv_samplerate_t sampleRate, | 91 sv_samplerate_t sampleRate, |
92 int blockSize, | 92 int blockSize, |
93 int channels) = 0; | 93 int channels) = 0; |
94 | 94 |
95 /** | 95 /** |
96 * Get category metadata about a plugin (without instantiating it). | 96 * Get category metadata about a plugin (without instantiating it). |
97 */ | 97 */ |
98 virtual QString getPluginCategory(QString identifier) = 0; | 98 virtual QString getPluginCategory(QString identifier) = 0; |
99 | 99 |
100 /** | |
101 * Get the full file path (including both directory and filename) | |
102 * of the library file that provides a given plugin | |
103 * identifier. Note getPluginIdentifiers() must have been called | |
104 * before this has access to the necessary information. | |
105 */ | |
106 virtual QString getPluginLibraryPath(QString identifier) = 0; | |
107 | |
100 protected: | 108 protected: |
101 RealTimePluginFactory() { } | 109 RealTimePluginFactory() { } |
102 | 110 |
103 // for call by RealTimePluginInstance dtor | 111 // for call by RealTimePluginInstance dtor |
104 virtual void releasePlugin(RealTimePluginInstance *, QString identifier) = 0; | 112 virtual void releasePlugin(RealTimePluginInstance *, QString identifier) = 0; |