Struct amethyst_audio::FlacFormat
[−]
[src]
pub struct FlacFormat;
Loads audio from Flac files.
Trait Implementations
impl Clone for FlacFormat
[src]
fn clone(&self) -> FlacFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl SimpleFormat<Audio> for FlacFormat
[src]
const NAME: &'static str
NAME: &'static str = "FLAC"
A unique identifier for this format.
type Options = ()
Options specific to the format, which are passed to import
. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more
fn import(&self, bytes: Vec<u8>, _: ()) -> Result<AudioData>
[src]
Produces asset data from given bytes.