add sample rate support
Build / build (push) Canceled after 23m10s

This commit is contained in:
2026-08-01 18:00:29 +02:00
parent 089f215c42
commit 6fbf09b448
2 changed files with 45 additions and 15 deletions
+3 -2
View File
@@ -50,8 +50,9 @@ impl Widget for &mut App {
let now_playing_block = Block::bordered()
.title(format!(
"Now Playing | Vol: {:.0}",
self.player.volume() * 100.0
"Now Playing | Vol: {:.0} | Rate: {}Hz",
self.player.volume() * 100.0,
self.sample_rate
))
.border_type(Rounded);
let inner = now_playing_block.inner(center_area[1]);