Crate sbz_switch

Crate sbz_switch 

Source
Expand description

Provides a high-level API for controlling Creative sound devices.

For a lower-level API, see media and soundcore.

For an even-lower-level API, see mmdeviceapi and ctsndcr.

Modules§

ctsndcr
COM API exposed by the SoundCore interface.
media
Provides a Rust layer over the Windows IMMDevice API.
soundcore
Provides a Rust layer over Creative’s COM SoundCore API.

Structs§

Configuration
Describes a configuration to be applied.
DeviceInfo
Describes a device that may be configurable.
EndpointConfiguration
Describes the configuration of a media endpoint.
SoundCoreAndVolumeEventIterator
Iterates over volume change events and also events produced through the SoundCore API.
Win32Error
Represents an error thrown from Win32 code.

Enums§

SoundCoreOrVolumeEvent
Either a SoundCoreEvent or a VolumeNotification.

Functions§

dump
Captures a snapshot of a device’s configuration.
list_devices
Produces a list of devices currently available.
set
Applies a set of configuration values to a device.
watch
Gets the sequence of events for a device.
watch_with_volume
Gets the sequence of events for a device.