Struct MediaDevice
pub struct MediaDevice;
Implementations§
§impl MediaDevice
impl MediaDevice
pub fn GetAudioCaptureSelector() -> Result<HSTRING>
pub fn GetAudioRenderSelector() -> Result<HSTRING>
pub fn GetVideoCaptureSelector() -> Result<HSTRING>
pub fn GetDefaultAudioCaptureId(role: AudioDeviceRole) -> Result<HSTRING>
pub fn GetDefaultAudioRenderId(role: AudioDeviceRole) -> Result<HSTRING>
pub fn DefaultAudioCaptureDeviceChanged<P0>(handler: P0) -> Result<i64>where
P0: Param<TypedEventHandler<IInspectable, DefaultAudioCaptureDeviceChangedEventArgs>>,
pub fn RemoveDefaultAudioCaptureDeviceChanged(cookie: i64) -> Result<()>
pub fn DefaultAudioRenderDeviceChanged<P0>(handler: P0) -> Result<i64>where
P0: Param<TypedEventHandler<IInspectable, DefaultAudioRenderDeviceChangedEventArgs>>,
pub fn RemoveDefaultAudioRenderDeviceChanged(cookie: i64) -> Result<()>
Auto Trait Implementations§
impl Freeze for MediaDevice
impl RefUnwindSafe for MediaDevice
impl Send for MediaDevice
impl Sync for MediaDevice
impl Unpin for MediaDevice
impl UnwindSafe for MediaDevice
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