Struct wasapi::AudioSessionControl [−][src]
pub struct AudioSessionControl { /* fields omitted */ }
Expand description
Struct wrapping an IAudioSessionControl.
Implementations
pub fn register_session_notification(
&self,
callbacks: Weak<EventCallbacks>
) -> Result<(), Box<dyn Error>>
pub fn register_session_notification(
&self,
callbacks: Weak<EventCallbacks>
) -> Result<(), Box<dyn Error>>
Register to receive notifications