windows::Win32::Media::Audio::Endpoints

Trait IAudioEndpointOffloadStreamVolume_Impl

pub trait IAudioEndpointOffloadStreamVolume_Impl: IUnknownImpl {
    // Required methods
    fn GetVolumeChannelCount(&self) -> Result<u32>;
    fn SetChannelVolumes(
        &self,
        u32channelcount: u32,
        pf32volumes: *const f32,
        u32curvetype: AUDIO_CURVE_TYPE,
        pcurveduration: *const i64,
    ) -> Result<()>;
    fn GetChannelVolumes(&self, u32channelcount: u32) -> Result<f32>;
}

Required Methods§

fn GetVolumeChannelCount(&self) -> Result<u32>

fn SetChannelVolumes( &self, u32channelcount: u32, pf32volumes: *const f32, u32curvetype: AUDIO_CURVE_TYPE, pcurveduration: *const i64, ) -> Result<()>

fn GetChannelVolumes(&self, u32channelcount: u32) -> Result<f32>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§