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 fcf3612 commit ac62253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion screenpipe-audio/src/pcm_decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +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 hint = symphonia::core::probe::Hint::new();
let mut 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 ac62253

Please sign in to comment.