@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user