YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix encoding issues
Louis Beaumontfcf3612cf926
diff --git a/screenpipe-audio/src/pcm_decode.rs b/screenpipe-audio/src/pcm_decode.rsindex a7d452b8a..77c2fc7e3 100644--- a/screenpipe-audio/src/pcm_decode.rs+++ b/screenpipe-audio/src/pcm_decode.rs@@ -31,6 +31,20 @@ pub fn pcm_decode<P: AsRef<std::path::Path>>(path: P) -> anyhow::Result<(Vec<f32// Get the instantiated format reader.let mut format = probed.format;+ // Debug log the format information+ debug!(+ "Detected format: {:?}",+ format.metadata().current().unwrap()+ );++ // Debug log all available tracks+ for (idx, track) in format.tracks().iter().enumerate() {+ debug!(+ "Track {}: Codec: {:?}, Codec params: {:?}",+ idx, track.codec_params.codec, track.codec_params+ );+ }+// Find the first audio track with a known (decodeable) codec.let track = format.tracks()