Struct riddle_audio::AudioSystem[][src]

pub struct AudioSystem { /* fields omitted */ }

The Riddle audio system core state.

Manages underlying audio device and riddle audio objects’ states. The recommended way to use this type is to let the riddle crate initialize and manage it for you.

It is possible to manage the audio system state independantly - the most important thing to note is that ext::AudioSystemExt::process_frame must be called periodically for ClipPlayer to work properly. This is not something that needs doing if using the riddle crate to manage the AudioSystem automatically.

Trait Implementations

impl AudioSystemExt for AudioSystem[src]

impl CloneHandle for AudioSystem[src]

type Handle = AudioSystemHandle

The type which represents a strong reference, and which may be dereferenced as Self. Read more

type WeakHandle = AudioSystemWeak

The type which represents a weak reference.

Auto Trait Implementations

impl RefUnwindSafe for AudioSystem

impl Send for AudioSystem

impl Sync for AudioSystem

impl Unpin for AudioSystem

impl UnwindSafe for AudioSystem

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.