Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

style(media-info): fix code formatting

Richie McIlroya3b8c3c38994
diff --git a/crates/media-info/src/lib.rs b/crates/media-info/src/lib.rs
index babe21528..d2bda7a64 100644
--- a/crates/media-info/src/lib.rs
+++ b/crates/media-info/src/lib.rs
@@ -121,8 +121,7 @@ impl AudioInfo {
// This prevents panics when audio devices report unusual channel counts
// (e.g., 0 channels or more than 8 channels).
let clamped_channels = (self.channels as u16).clamp(1, 8);
- Self::channel_layout_raw(clamped_channels)
- .unwrap_or(ChannelLayout::STEREO)
+ Self::channel_layout_raw(clamped_channels).unwrap_or(ChannelLayout::STEREO)
}
pub fn sample_size(&self) -> usize {