Skip to content

Commit

Permalink
save as wav
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Mar 21, 2024
1 parent 1c56a02 commit d1ad96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ fn save_audio_file_to_disk(audio_bytes: Vec<u8>, output_dir: &str) {
.expect(&format!("Failed to create output directory {}", output_dir));
}
let path: String = format!(
"{}/{}.pcm",
"{}/{}.wav",
output_dir,
recording_date_time.format("%Y%m%d-%H%M%S")
);
Expand Down

0 comments on commit d1ad96c

Please sign in to comment.