Skip to content

Conversation

@alirezamirian
Copy link

In documentations we have:
"The compulsory fixed length header is a 10 byte binary header containing the feature vector dimension(5) (unsigned short = 2 bytes), a flag describing the content of the feature vector (long = 4 bytes) and the frame rate in Hz (float = 4 bytes)"
which is not consistent with implementation. SIZEOF_LONG is not 4 in all platforms and causes header to be not consistent with documentation. If header is to be "fixed length", no platform dependent sizeof instruction should be used.

All SIZEOFs had been changed to constant numbers to be consistent with what have been stated in documentation.
Replace all SIZEOFs with constant numbers in order to be consistent with documentation.
Matlab Spro file reader.
@gcolbert
Copy link

The explanation sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants