Enum coreaudio::audio_unit::types::GeneratorType
[−]
[src]
pub enum GeneratorType { ScheduledSoundPlayer, AudioFilePlayer, }
Audio units that serve as sound sources.
Variants
ScheduledSoundPlayer
A generator unit that can be used to schedule slices of audio to be played at specified times.
The audio is scheduled using the time stamps for the render operation and can be scheduled from any thread.
Available in OS X v10.4 and later.
AudioFilePlayer
A generator unit that is used to play a file. In OS X it presents a custom UI so can be used in a UI context as well as in a programmatic context.
Available in OS X v10.4 and later.
Trait Implementations
impl PartialEq for GeneratorType
[src]
fn eq(&self, __arg_0: &GeneratorType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for GeneratorType
[src]
impl Clone for GeneratorType
[src]
fn clone(&self) -> GeneratorType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more