mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
unify init naming; GrooveboxTui -> Groovebox
This commit is contained in:
parent
6607491f16
commit
0c9c386a79
7 changed files with 20 additions and 20 deletions
|
|
@ -8,7 +8,7 @@ pub struct GrooveboxStatus {
|
|||
pub(crate) size: String,
|
||||
pub(crate) playing: bool,
|
||||
}
|
||||
from!(|state:&GrooveboxTui|GrooveboxStatus = {
|
||||
from!(|state: &Groovebox|GrooveboxStatus = {
|
||||
let samples = state.clock().chunk.load(Relaxed);
|
||||
let rate = state.clock().timebase.sr.get();
|
||||
let buffer = samples as f64 / rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue