mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
This commit is contained in:
parent
e81ae58ab5
commit
6f6078e25a
1 changed files with 6 additions and 10 deletions
|
|
@ -2,19 +2,15 @@ use crate::*;
|
||||||
|
|
||||||
#[derive(Debug, Default)] pub struct Track {
|
#[derive(Debug, Default)] pub struct Track {
|
||||||
/// Name of track
|
/// Name of track
|
||||||
pub name: Arc<str>,
|
pub name: Arc<str>,
|
||||||
/// Preferred width of track column
|
|
||||||
pub width: usize,
|
|
||||||
/// Identifying color of track
|
/// Identifying color of track
|
||||||
pub color: ItemTheme,
|
pub color: ItemTheme,
|
||||||
|
/// Preferred width of track column
|
||||||
|
pub width: usize,
|
||||||
/// MIDI sequencer state
|
/// MIDI sequencer state
|
||||||
pub sequencer: Sequencer,
|
pub sequencer: Sequencer,
|
||||||
/// Device chain
|
/// Device chain
|
||||||
pub devices: Vec<Device>,
|
pub devices: Vec<Device>,
|
||||||
/// Inputs of 1st device
|
|
||||||
pub audio_ins: Vec<JackAudioIn>,
|
|
||||||
/// Outputs of last device
|
|
||||||
pub audio_outs: Vec<JackAudioOut>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
has_clock!(|self: Track|self.sequencer.clock);
|
has_clock!(|self: Track|self.sequencer.clock);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue