Expand description
Represents the Serato RelVolAd
tag.
Note: This tag has not been reverse-engineered yet. Judging from the name it contains information about relative volume adjustments, but at this point that is just speculation.
Example
use triseratops::tag::{RelVolAd, format::flac::FLACTag};
// First, read the tag data from the FLAC VORBIS_COMMENT (the tag name can be accessed using the
// RelVolAd::FLAC_TAG), then parse the data like this:
fn parse(data: &[u8]) {
let content = RelVolAd::parse_flac(data).expect("Failed to parse data!");
println!("{:?}", content);
}
Fields
version: Version
The RelVolAd
version.
data: Vec<u8>
The data (not reverse-engineered yet)
Trait Implementations
sourceimpl EnvelopedTag for RelVolAd
impl EnvelopedTag for RelVolAd
sourceimpl MP4Tag for RelVolAd
impl MP4Tag for RelVolAd
sourceconst MP4_ATOM_FREEFORM_NAME: &'static str
const MP4_ATOM_FREEFORM_NAME: &'static str
The mean part of the freeform MP4_ATOM
that this data is stored in.
sourceconst MP4_ATOM_FREEFORM_MEAN: &'static str
const MP4_ATOM_FREEFORM_MEAN: &'static str
The mean part of the freeform MP4_ATOM
that this data is stored in.
fn parse_mp4(input: &[u8]) -> Result<Self, Error>
fn write_mp4(&self, writer: &mut impl Write) -> Result<usize, Error>
Auto Trait Implementations
impl RefUnwindSafe for RelVolAd
impl Send for RelVolAd
impl Sync for RelVolAd
impl Unpin for RelVolAd
impl UnwindSafe for RelVolAd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more