Skip to content

Commit

Permalink
fix ci borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosprint committed May 22, 2024
1 parent fb647ec commit 061b414
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ fn main() {

match &args.output {
Some(output) => {
// let output = o;
record_audio(output.clone(), &cli.device, false).unwrap();
}
None => {
Expand Down Expand Up @@ -125,7 +124,6 @@ fn main() {
// If JACK is not available or the platform is unsupported, pass false to not use JACK
match &args.output {
Some(output) => {
// let output = o;
record_audio(output.clone(), &cli.device, false).unwrap();
}
None => {
Expand Down Expand Up @@ -181,7 +179,7 @@ fn main() {
let ans: Result<String, InquireError> =
Select::new("Select a wav file to play", options).prompt();
match ans {
Ok(input) => play_audio(input, &cli.device, cli.jack).unwrap(),
Ok(input) => play_audio(&input, &cli.device, cli.jack).unwrap(),
Err(_) => println!("Playback cancelled."),
}
}
Expand Down

0 comments on commit 061b414

Please sign in to comment.