Module platform
Available on crate feature
dep_rodio
only.Expand description
Structs§
- Alsa
Device - Alsa
Devices - ALSA’s implementation for
Devices
. - Alsa
Host - The default linux, dragonfly, freebsd and netbsd host type.
- Alsa
Stream - Device
- The
Device
implementation associated with the platform’s dynamically dispatchedHost
type. - Devices
- The
Devices
iterator associated with the platform’s dynamically dispatchedHost
type. - Host
- The platform’s dynamically dispatched
Host
type. - Stream
- The
Stream
implementation associated with the platform’s dynamically dispatchedHost
type. - Supported
Input Configs - The
SupportedInputConfigs
iterator associated with the platform’s dynamically dispatchedHost
type. - Supported
Output Configs - The
SupportedOutputConfigs
iterator associated with the platform’s dynamically dispatchedHost
type.
Enums§
- Device
Inner - Contains a platform specific
Device
implementation. - Devices
Inner - Contains a platform specific
Devices
implementation. - HostId
- Unique identifier for available hosts on the platform.
- Host
Inner - Contains a platform specific
Host
implementation. - Stream
Inner - Contains a platform specific
Stream
implementation.
Constants§
- ALL_
HOSTS - All hosts supported by CPAL on this platform.
Functions§
- available_
hosts - Produces a list of hosts that are currently available on the system.
- default_
host - The default host for the current compilation target platform.
- host_
from_ id - Given a unique host identifier, initialise and produce the host if it is available.