Mercurial > hg > m4-sa
comparison runner/BinaryFeatureWriter.h @ 69:0ef80ae6493c
Sonic Annotator correctly reports the number of bytes written to a feature file even if it's less than expected.
author | gyorgyf |
---|---|
date | Fri, 24 Feb 2012 12:32:39 +0000 |
parents | da84d2efd7a3 |
children |
comparison
equal
deleted
inserted
replaced
68:5e432835d7e1 | 69:0ef80ae6493c |
---|---|
64 typedef std::map<QString, float> ParameterMap; | 64 typedef std::map<QString, float> ParameterMap; |
65 | 65 |
66 OutputStream *binary; | 66 OutputStream *binary; |
67 | 67 |
68 bool openBinaryFile(); | 68 bool openBinaryFile(); |
69 long feature_count; | 69 long feature_count; // number of features per output |
70 long data_size_pos; | 70 long data_size_pos; // temporary storage for file positioning |
71 long output_binCount; | 71 long output_binCount; // element count of each feature |
72 long element_count; // total number of elements (e.g. float numbers) written per output | |
72 }; | 73 }; |
73 | 74 |
74 #endif | 75 #endif |