unify init naming; GrooveboxTui -> Groovebox

This commit is contained in:
🪞👃🪞 2024-12-29 20:32:00 +01:00
parent 6607491f16
commit 0c9c386a79
7 changed files with 20 additions and 20 deletions

View file

@ -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;