pub struct RawSoundLoader;Expand description
Loader for raw PCM audio files.
Header format:
[4 bytes "RSND"] [4 bytes sample_rate LE u32] [2 bytes channels LE u16]
[2 bytes padding] [remaining bytes: little-endian f32 samples]
Trait Implementations§
Source§impl AssetLoader<SoundAsset> for RawSoundLoader
impl AssetLoader<SoundAsset> for RawSoundLoader
Auto Trait Implementations§
impl Freeze for RawSoundLoader
impl RefUnwindSafe for RawSoundLoader
impl Send for RawSoundLoader
impl Sync for RawSoundLoader
impl Unpin for RawSoundLoader
impl UnsafeUnpin for RawSoundLoader
impl UnwindSafe for RawSoundLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more