mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
wip: enabling standalone mixer
This commit is contained in:
parent
7685072e4c
commit
1d3d3875fe
11 changed files with 165 additions and 111 deletions
|
|
@ -1,6 +1,26 @@
|
|||
use crate::*;
|
||||
use tek_core::Direction;
|
||||
|
||||
render!(Track |self, buf, area| TrackView {
|
||||
chain: Some(&self),
|
||||
direction: tek_core::Direction::Right,
|
||||
focused: true,
|
||||
entered: true,
|
||||
//pub channels: u8,
|
||||
//pub input_ports: Vec<Port<AudioIn>>,
|
||||
//pub pre_gain_meter: f64,
|
||||
//pub gain: f64,
|
||||
//pub insert_ports: Vec<Port<AudioOut>>,
|
||||
//pub return_ports: Vec<Port<AudioIn>>,
|
||||
//pub post_gain_meter: f64,
|
||||
//pub post_insert_meter: f64,
|
||||
//pub level: f64,
|
||||
//pub pan: f64,
|
||||
//pub output_ports: Vec<Port<AudioOut>>,
|
||||
//pub post_fader_meter: f64,
|
||||
//pub route: String,
|
||||
}.render(buf, area));
|
||||
|
||||
pub struct TrackView<'a> {
|
||||
pub chain: Option<&'a Track>,
|
||||
pub direction: Direction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue