mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
groovebox: draw sample info
This commit is contained in:
parent
4e2702f69e
commit
e00d870d70
4 changed files with 63 additions and 31 deletions
|
|
@ -4,7 +4,7 @@ use crate::*;
|
|||
#[derive(Debug)]
|
||||
pub struct Sampler {
|
||||
/// Name of sampler.
|
||||
pub name: String,
|
||||
pub name: Arc<str>,
|
||||
/// Device color.
|
||||
pub color: ItemTheme,
|
||||
/// Audio input ports. Samples get recorded here.
|
||||
|
|
@ -55,7 +55,7 @@ impl Default for Sampler {
|
|||
input_meters: vec![0.0;2],
|
||||
output_meters: vec![0.0;2],
|
||||
audio_outs: vec![],
|
||||
name: "tek_sampler".to_string(),
|
||||
name: "tek_sampler".into(),
|
||||
mapped: [const { None };128],
|
||||
unmapped: vec![],
|
||||
voices: Arc::new(RwLock::new(vec![])),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue