Skip to content

Commit

Permalink
Merge pull request #26 from TheCacophonyProject/hotfix-fix-audio-save…
Browse files Browse the repository at this point in the history
…-path

Remove debug audio save path
  • Loading branch information
hardiesoft authored Oct 2, 2024
2 parents b16bd44 + db25f17 commit b2f544e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/save_audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ fn wav_header(audio_length: usize, sample_rate: u32) -> [u8; 44] {
}

pub fn save_audio_file_to_disk(mut audio_bytes: Vec<u8>, device_config: DeviceConfig) {
//let output_dir = String::from(device_config.output_dir());
let output_dir = String::from("/home/pi/temp");
let output_dir = String::from(device_config.output_dir());
//let output_dir = String::from("/home/pi/temp");
let _ = thread::Builder::new().name("audio-transcode".to_string()).spawn_with_priority(
ThreadPriority::Min,
move |_| {
Expand Down

0 comments on commit b2f544e

Please sign in to comment.