use anyhow::Result;
use std::path::Path;
pub fn compress_audio(path: &Path) -> Result<Vec<u8>> {
let bytes = std::fs::read(path)?;
Ok(bytes)
}
pub fn decompress_audio(data: &[u8], output_path: &Path) -> Result<()> {
std::fs::write(output_path, data)?;
Ok(())
}