Crate libflo_audio

Crate libflo_audio 

Source

Re-exports§

pub use core::compute_crc32;
pub use core::rice;
pub use core::ChannelData;
pub use core::FloFile;
pub use core::FloResult;
pub use core::FrameType;
pub use core::ResidualEncoding;
pub use core::HEADER_SIZE;
pub use core::MAGIC;
pub use core::VERSION_MAJOR;
pub use core::VERSION_MINOR;
pub use lossless::lpc;
pub use lossless::Decoder;
pub use lossless::Encoder;
pub use lossy::deserialize_frame;
pub use lossy::serialize_frame;
pub use lossy::BlockSize;
pub use lossy::Mdct;
pub use lossy::PsychoacousticModel;
pub use lossy::QualityPreset;
pub use lossy::TransformDecoder as LossyDecoder;
pub use lossy::TransformEncoder as LossyEncoder;
pub use lossy::TransformFrame;
pub use lossy::WindowType;
pub use streaming::DecoderState;
pub use streaming::EncodedFrame;
pub use streaming::StreamingAudioInfo;
pub use streaming::StreamingDecoder;
pub use streaming::StreamingEncoder;
pub use core::metadata::*;

Modules§

core
lossless
Lossless encoding for flo™
lossy
Transform-based lossy encoder for flo™
streaming
streaming encode/decode for flo audio

Structs§

AudioInfo
info about a flo file
Reader
binary reader for flo format
WasmStreamingDecoder
Writer
binary writer for flo format

Functions§

create_metadata
Create metadata from basic fields and serialize to MessagePack
create_metadata_from_object
Create metadata from a JavaScript object
decode
decode flo file to samples
encode
encode samples to flo lossless
encode_lossy
encode samples to flo lossy
encode_with_bitrate
encode to flo lossy with target bitrate
get_cover_art
Get cover art from a flo™ file
get_metadata
Extract metadata from a flo™ file
get_metadata_bytes
Get just the metadata bytes from a flo™ file
get_metadata_bytes_native
Get just the metadata bytes from a flo™ file
get_section_markers
Get section markers from a flo™ file
get_synced_lyrics
Get synced lyrics from a flo™ file
get_waveform_data
Get waveform data from a flo™ file for instant visualization
has_metadata
does the file have metadata?
info
Get information about a flo™ file
set_metadata
Replace just the metadata in a flo™ file (convenience function)
set_metadata_field
Set a single field in existing metadata bytes
strip_metadata
Remove all metadata from a flo™ file
strip_metadata_bytes
Remove all metadata from a flo™ file
update_metadata
update metadata without re-encoding audio
update_metadata_bytes
update metadata without re-encoding (native)
validate
Validate flo™ file integrity
version
get lib version