Skip to content

Commit

Permalink
When packing raw samples correctly set sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
damb committed Aug 29, 2023
1 parent 933c27e commit d1b73f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ where
} as c_char;
(*msr).reclen = info.rec_len;
(*msr).starttime = util::time_to_nstime(start_time);
(*msr).samprate = info.sample_rate;
(*msr).pubversion = info.pub_version;
(*msr).formatversion = info.format_version;
(*msr).numsamples = c_long::try_from(data_samples.len())
Expand Down

0 comments on commit d1b73f2

Please sign in to comment.