diff --git a/Cargo.toml b/Cargo.toml index 0d21a3d..78399b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ edition = "2021" authors = [ "alemi " ] description = "A simple oscilloscope/vectorscope/spectroscope for your terminal" license = "MIT" -license-file = "LICENSE" keywords = ["cli", "tui", "audio", "visualization", "scope"] repository = "https://git.alemi.dev/scope-tui.git" readme = "README.md" diff --git a/src/input/file.rs b/src/input/file.rs index a9f000a..1a979d3 100644 --- a/src/input/file.rs +++ b/src/input/file.rs @@ -6,8 +6,8 @@ pub struct FileSource { file: File, buffer: Vec, channels: usize, - sample_rate: usize, - limit_rate: bool, + _sample_rate: usize, + _limit_rate: bool, // TODO when all data is available (eg, file) limit data flow to make it // somehow visualizable. must be optional because named pipes block // TODO support more formats @@ -19,8 +19,8 @@ impl FileSource { Ok(Box::new( FileSource { channels: opts.channels, - sample_rate: opts.sample_rate as usize, - limit_rate, + _sample_rate: opts.sample_rate as usize, + _limit_rate: limit_rate, file: File::open(path)?, buffer: vec![0u8; opts.buffer as usize * opts.channels], }