Browse and listen to thousands of radio stations across the globe right from your terminal ๐ŸŒŽ ๐Ÿ“ป ๐ŸŽตโœจ
radio rust tokio web-radio command-line-tool tui

app: render_frame(): render raw volume

+7 -2
+7 -2
src/app.rs
··· 58 58 } 59 59 } 60 60 61 + /// Get the raw volume. 62 + pub const fn raw_volume(&self) -> f32 { 63 + self.volume 64 + } 65 + 61 66 /// Is volume muted? 62 67 pub const fn is_muted(&self) -> bool { 63 68 self.is_muted ··· 234 239 render_line( 235 240 "Volume ", 236 241 &if state.volume.is_muted() { 237 - format!("{} muted", state.volume.volume()) 242 + format!("{} muted", state.volume.raw_volume()) 238 243 } else { 239 - format!("{}", state.volume.volume()) 244 + format!("{}", state.volume.raw_volume()) 240 245 }, 241 246 Rect { 242 247 x: size.x,