Trait windows::Win32::Media::Audio::IAudioStreamVolume_Impl

pub trait IAudioStreamVolume_Impl: Sized {
    // Required methods
    fn GetChannelCount(&self) -> Result<u32>;
    fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> Result<()>;
    fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>;
    fn SetAllVolumes(&self, dwcount: u32, pfvolumes: *const f32) -> Result<()>;
    fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>;
}

Required Methods§

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

fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> Result<()>

fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>

fn SetAllVolumes(&self, dwcount: u32, pfvolumes: *const f32) -> Result<()>

fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§