comparison vamp-sdk/Plugin.h @ 377:e43186ff8854

Fix some uninitialised members that Coverity otherwise complains about
author Chris Cannam
date Wed, 03 Sep 2014 12:14:39 +0100
parents e85513153c71
children 4a86f866bb6b
comparison
equal deleted inserted replaced
376:5ad35dc275c2 377:e43186ff8854
318 * have a duration field. 318 * have a duration field.
319 */ 319 */
320 bool hasDuration; 320 bool hasDuration;
321 321
322 OutputDescriptor() : // defaults for mandatory non-class-type members 322 OutputDescriptor() : // defaults for mandatory non-class-type members
323 hasFixedBinCount(false), hasKnownExtents(false), isQuantized(false), 323 hasFixedBinCount(false),
324 sampleType(OneSamplePerStep), sampleRate(0), hasDuration(false) { } 324 binCount(0),
325 hasKnownExtents(false),
326 minValue(0),
327 maxValue(0),
328 isQuantized(false),
329 quantizeStep(0),
330 sampleType(OneSamplePerStep),
331 sampleRate(0),
332 hasDuration(false) { }
325 }; 333 };
326 334
327 typedef std::vector<OutputDescriptor> OutputList; 335 typedef std::vector<OutputDescriptor> OutputList;
328 336
329 /** 337 /**