Skip to content

Commit

Permalink
fix encoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Sep 3, 2024
1 parent ac62253 commit 12c6898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screenpipe-audio/src/pcm_decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pub fn pcm_decode<P: AsRef<std::path::Path>>(path: P) -> anyhow::Result<(Vec<f32
let mss = symphonia::core::io::MediaSourceStream::new(Box::new(src), Default::default());

// Create a probe hint using the file's extension. [Optional]
let mut hint = symphonia::core::probe::Hint::new();
hint.with_extension("mp4");
let hint = symphonia::core::probe::Hint::new();
// hint.with_extension("mp4");

// Use the default options for metadata and format readers.
let meta_opts: symphonia::core::meta::MetadataOptions = Default::default();
Expand Down

0 comments on commit 12c6898

Please sign in to comment.