-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
use jack_sys as j; | ||
|
||
/// Type used to represent sample frame counts. | ||
pub type JackFrames = j::jack_nframes_t; | ||
|
||
/// Type used to represent the value of free running monotonic clock with units of microseconds. | ||
pub type JackTime = j::jack_time_t; | ||
|
||
/// Ports have unique ids. A port registration callback is the only place you ever need to know | ||
/// their value. | ||
pub type JackPortId = j::jack_port_id_t; |