Struct ambisonic::StereoConfig [−][src]
pub struct StereoConfig { /* fields omitted */ }
Stereo Playback configuration
Playback over two physical speakers in front of the listener. For best results both speakers should be placed symmetrically to the left and the right at the same distance.
The default setting assumes an arrangement of +/- 45º.
Methods
impl StereoConfig
[src]
impl StereoConfig
pub fn set_left_direction(&mut self, dir: [f32; 3])
[src]
pub fn set_left_direction(&mut self, dir: [f32; 3])
Set direction of the left speaker
pub fn set_right_direction(&mut self, dir: [f32; 3])
[src]
pub fn set_right_direction(&mut self, dir: [f32; 3])
Set direction of the right speaker
Trait Implementations
impl Default for StereoConfig
[src]
impl Default for StereoConfig
impl From<StereoConfig> for PlaybackConfiguration
[src]
impl From<StereoConfig> for PlaybackConfiguration
fn from(cfg: StereoConfig) -> Self
[src]
fn from(cfg: StereoConfig) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for StereoConfig
impl Send for StereoConfig
impl Sync for StereoConfig
impl Sync for StereoConfig