-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from cvhammond/remove-file
Remove file
- Loading branch information
Showing
7 changed files
with
416 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
use c3dio::parameters::AnalogOffset::{Signed, Unsigned}; | ||
use std::ops::{MulAssign, SubAssign}; | ||
|
||
use c3dio::C3d; | ||
fn main() { | ||
let dec_int = C3d::load("tests/c3d.org-sample-files/Sample19/sample19.c3d").unwrap(); | ||
let sample19 = C3d::load("tests/c3d.org-sample-files/Sample07/16bitanalog.c3d").unwrap(); | ||
|
||
dbg!(sample19.data.num_frames); | ||
dbg!(sample19.data.analog_channels); | ||
dbg!(sample19.data.analog_samples_per_frame); | ||
dbg!(sample19.data.analog_samples_per_frame as usize * sample19.data.num_frames); | ||
} |
Oops, something went wrong.