Skip to content

Commit de1f93a

Browse files
authored
Merge pull request #5 from labstreaminglayer/enumsize
Fix enum size (byte -> int)
2 parents b74f4d5 + cd653f5 commit de1f93a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LSL.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class liblsl
4545
/**
4646
* Data format of a channel (each transmitted sample holds an array of channels).
4747
*/
48-
public enum channel_format_t : byte
48+
public enum channel_format_t : int
4949
{
5050
cf_float32 = 1, // For up to 24-bit precision measurements in the appropriate physical unit
5151
// (e.g., microvolts). Integers from -16777216 to 16777216 are represented accurately.
@@ -67,7 +67,7 @@ public enum channel_format_t : byte
6767
/**
6868
* Post-processing options for stream inlets.
6969
*/
70-
public enum processing_options_t : byte
70+
public enum processing_options_t : int
7171
{
7272
proc_none = 0, // No automatic post-processing; return the ground-truth time stamps for manual
7373
// post-processing. This is the default behavior of the inlet.

0 commit comments

Comments
 (0)