Skip to content

Instantly share code, notes, and snippets.

@daniellga
daniellga / basic-read-samples.rs
Created September 6, 2021 05:18 — forked from pdeljanov/basic-read-samples.rs
Basic Symphonia Read Samples Example
use std::env;
use std::fs::File;
use std::path::Path;
use symphonia_core::audio::SampleBuffer;
use symphonia_core::meta::MetadataOptions;
use symphonia::core::codecs::DecoderOptions;
use symphonia::core::errors::Error;
use symphonia::core::formats::FormatOptions;
use symphonia::core::io::MediaSourceStream;