Struct xsynth_core::channel_group::ChannelGroupConfig
source · pub struct ChannelGroupConfig {
pub channel_init_options: ChannelInitOptions,
pub format: SynthFormat,
pub audio_params: AudioStreamParams,
pub parallelism: ParallelismOptions,
}
Expand description
Options for initializing a new ChannelGroup.
Fields§
§channel_init_options: ChannelInitOptions
Channel initialization options (same for all channels).
See the ChannelInitOptions
documentation for more information.
format: SynthFormat
Defines the format that the synthesizer will use. See the SynthFormat
documentation for more information.
Default: SynthFormat::Midi
audio_params: AudioStreamParams
Parameters of the output audio.
See the AudioStreamParams
documentation for more information.
parallelism: ParallelismOptions
Options about the ChannelGroup
instance’s parallelism. See the ParallelismOptions
documentation for more information.
Trait Implementations§
source§impl Clone for ChannelGroupConfig
impl Clone for ChannelGroupConfig
source§fn clone(&self) -> ChannelGroupConfig
fn clone(&self) -> ChannelGroupConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChannelGroupConfig
impl Debug for ChannelGroupConfig
source§impl PartialEq for ChannelGroupConfig
impl PartialEq for ChannelGroupConfig
impl StructuralPartialEq for ChannelGroupConfig
Auto Trait Implementations§
impl Freeze for ChannelGroupConfig
impl RefUnwindSafe for ChannelGroupConfig
impl Send for ChannelGroupConfig
impl Sync for ChannelGroupConfig
impl Unpin for ChannelGroupConfig
impl UnwindSafe for ChannelGroupConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)