| 165 | } |
| 166 | |
| 167 | MyPlugin::OutputList |
| 168 | MyPlugin::getOutputDescriptors() const |
| 169 | { |
| 170 | OutputList list; |
| 171 | |
| 172 | // See OutputDescriptor documentation for the possibilities here. |
| 173 | // Every plugin must have at least one output. |
| 174 | |
| 175 | OutputDescriptor d; |
| 176 | d.identifier = "output"; |
| 177 | d.name = "My Output"; |
| 178 | d.description = ""; |
| 179 | d.unit = ""; |
| 180 | d.hasFixedBinCount = true; |
| 181 | d.binCount = 1; |
| 182 | d.hasKnownExtents = false; |
| 183 | d.isQuantized = false; |
| 184 | d.sampleType = OutputDescriptor::OneSamplePerStep; |
| 185 | d.hasDuration = false; |
| 186 | list.push_back(d); |
| 187 | |
| 188 | return list; |
| 189 | } |
| 190 | |
| 191 | bool |
| 192 | MyPlugin::initialise(size_t channels, size_t stepSize, size_t blockSize) |
no test coverage detected