Revision 31:ed9d3c27f687
| TestOutputs.cpp | ||
|---|---|---|
| 155 | 155 |
switch (o.sampleType) {
|
| 156 | 156 |
case Plugin::OutputDescriptor::OneSamplePerStep: |
| 157 | 157 |
if (fe.hasTimestamp) {
|
| 158 |
r.push_back(note("Plugin returns features with timestamps on OneSamplePerStep output"));
|
|
| 158 |
r.push_back(note("Plugin returns features with timestamps on OneSamplePerStep output \"" + o.identifier + "\""));
|
|
| 159 | 159 |
} |
| 160 | 160 |
if (fe.hasDuration) {
|
| 161 |
r.push_back(note("Plugin returns features with durations on OneSamplePerStep output"));
|
|
| 161 |
r.push_back(note("Plugin returns features with durations on OneSamplePerStep output \"" + o.identifier + "\""));
|
|
| 162 | 162 |
} |
| 163 | 163 |
break; |
| 164 | 164 |
case Plugin::OutputDescriptor::FixedSampleRate: |
| 165 | 165 |
break; |
| 166 | 166 |
case Plugin::OutputDescriptor::VariableSampleRate: |
| 167 | 167 |
if (!fe.hasTimestamp) {
|
| 168 |
r.push_back(error("Plugin returns features with no timestamps on VariableSampleRate output"));
|
|
| 168 |
r.push_back(error("Plugin returns features with no timestamps on VariableSampleRate output \"" + o.identifier + "\""));
|
|
| 169 | 169 |
} |
| 170 | 170 |
break; |
| 171 | 171 |
} |
Also available in: Unified diff