Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000154openvibe-kernelfeature requestpublic2014-04-30 18:342016-05-11 14:55
Reportertoncho11 
Assigned Tojtlindgr 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000154: Small improvement in xDawn
DescriptionReplace

The following will make the code more clear to read:

uint32 l_ui32ERPStartIndex=(uint32)(((l_ui64ERPStartTime-l_ui64SignalStartTime)*(l_ui32SampleCountPerChunk*l_ui32ChunkCount))/(l_ui64SignalEndTime-l_ui64SignalStartTime));
            
with

uint64 l_ui32ERPStartIndex = ITimeArithmetics::timeToSampleCount(128, l_ui64ERPStartTime);

with the correct sampling frequency (128 is an example)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001207)
jtlindgr (administrator)
2016-05-11 14:55

Fixed in commit b1e4dce2e92f74593eb7323a7ef1190b946f32da

Thanks for the report. :)

- Issue History
Date Modified Username Field Change
2014-04-30 18:34 toncho11 New Issue
2016-05-11 14:55 jtlindgr Note Added: 0001207
2016-05-11 14:55 jtlindgr Status new => resolved
2016-05-11 14:55 jtlindgr Resolution open => fixed
2016-05-11 14:55 jtlindgr Assigned To => jtlindgr


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker