Struct xsynth_render::XSynthRenderConfig
source · pub struct XSynthRenderConfig {
pub group_options: ChannelGroupConfig,
pub use_limiter: bool,
pub audio_format: XSynthRenderAudioFormat,
}
Expand description
Options for initializing a new XSynthRender object.
Fields§
§group_options: ChannelGroupConfig
Synthesizer initialization options.
See the ChannelGroupConfig
documentation for more information.
use_limiter: bool
If set to true, the rendered audio will be limited to 0dB using
the VolumeLimiter
effect from core
to prevent clipping.
audio_format: XSynthRenderAudioFormat
Audio output format. Supported: WAV
Trait Implementations§
source§impl Clone for XSynthRenderConfig
impl Clone for XSynthRenderConfig
source§fn clone(&self) -> XSynthRenderConfig
fn clone(&self) -> XSynthRenderConfig
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 moreAuto Trait Implementations§
impl Freeze for XSynthRenderConfig
impl RefUnwindSafe for XSynthRenderConfig
impl Send for XSynthRenderConfig
impl Sync for XSynthRenderConfig
impl Unpin for XSynthRenderConfig
impl UnwindSafe for XSynthRenderConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)