Crate fidl_fuchsia_hardware_audio_common

Source

Macros§

DeviceTypeUnknown
Pattern that matches an unknown DeviceType member.
DriverErrorUnknown
Pattern that matches an unknown DriverError member.

Structs§

ChannelAttributes
The specification of a single channel, within the overall channel configuration.
ChannelSet
The specification of a channel configuration.
CodecFormatInfo
Codec format information.
CodecGetDaiFormatsResponse
CodecGetPropertiesResponse
CodecIsBridgeableResponse
CodecProperties
CodecSetBridgedModeRequest
CodecSetDaiFormatRequest
CodecSetDaiFormatResponse
CodecStartResponse
CodecStopResponse
CodecWatchPlugStateResponse
CompositeGetDaiFormatsRequest
CompositeGetDaiFormatsResponse
CompositeGetPropertiesResponse
CompositeGetRingBufferFormatsRequest
CompositeGetRingBufferFormatsResponse
CompositeProperties
CompositeSetDaiFormatRequest
DaiFormat
DAI format. Frames are made up of number_of_channels samples which have bits_per_sample bits of data within bits_per_slot arranged in frame_format. For more detailed information see Digital Audio Interface.
DaiFrameFormatCustom
Custom Frame format.
DaiGetDaiFormatsResponse
DaiGetPropertiesResponse
DaiGetRingBufferFormatsResponse
DaiProperties
DaiSupportedFormats
Formats supported by the DAI. Frames are made up of number_of_channels samples which have bits_per_sample bits of data within bits_per_slot bits arranged in frame_formats. All values listed in each vector are supported. When not all combinations supported by the driver can be described with one DaiSupportedFormats, GetDaiSupportedFormats returns more than one DaiSupportedFormats in the returned vector. For more detailed information see Digital Audio Interface.
DelayInfo
Delay information as returned by the driver.
Format
GainState
Gain state requested by the client or returned by the driver.
HealthGetHealthStateResponse
HealthState
PcmFormat
Format supporting non-compressed PCM audio. Frames are made up of number_of_channels samples which have valid_bits_per_sample bits of most-significant (left-justified) data within bytes_per_sample. bytes. For more detailed information see Audio Driver Streaming Interface.
PcmSupportedFormats
Format supporting non-compressed PCM audio. Each frame consists of one or more (number_of_channels) samples, stored contiguously. Within the bytes_per_sample allocated for each sample, valid_bits_per_sample bits of data are stored in the most-significant (left-justified) portion. All values listed in each vector are supported. When not all combinations supported by the driver can be described with one SupportedFormats or PcmSupportedFormats, GetSupportedFormats returns more than one SupportedFormats in the returned vector. For more detailed information see Audio Driver Streaming Interface.
PlugState
Plug state as returned by the driver. If the driver reports a plug_detect_capabilities equal to HARDWIRED, then the driver should respond to WatchPlugState only the first time it is called, with plugged set to true and plug_state_time set to time ‘0’.
RingBufferGetPropertiesResponse
RingBufferGetVmoRequest
RingBufferPositionInfo
RingBufferProperties
Properties of the ring buffer. These values don’t change once the ring buffer is created.
RingBufferSetActiveChannelsRequest
RingBufferSetActiveChannelsResponse
RingBufferStartResponse
RingBufferWatchClockRecoveryPositionInfoResponse
RingBufferWatchDelayInfoResponse
StreamConfigGetPropertiesResponse
StreamConfigGetSupportedFormatsResponse
StreamConfigSetGainRequest
StreamConfigWatchGainStateResponse
StreamConfigWatchPlugStateResponse
StreamProperties
SupportedFormats
All the possible formats supported by this device.

Enums§

DaiFrameFormat
Either a standard or custom frame format.
DaiFrameFormatStandard
Standard Frame format.
DaiSampleFormat
DeviceType
DriverError
GetVmoError
PlugDetectCapabilities
SampleFormat

Constants§

CLOCK_DOMAIN_EXTERNAL
CLOCK_DOMAIN_MONOTONIC
MAX_COUNT_CHANNELS_IN_RING_BUFFER
MAX_COUNT_CHANNEL_SETS
MAX_COUNT_DAI_FORMATS
MAX_COUNT_DAI_SUPPORTED_BITS_PER_SAMPLE
MAX_COUNT_DAI_SUPPORTED_BITS_PER_SLOT
MAX_COUNT_DAI_SUPPORTED_FRAME_FORMATS
MAX_COUNT_DAI_SUPPORTED_NUMBER_OF_CHANNELS
MAX_COUNT_DAI_SUPPORTED_RATES
MAX_COUNT_DAI_SUPPORTED_SAMPLE_FORMATS
MAX_COUNT_FORMATS
MAX_COUNT_SUPPORTED_BYTES_PER_SAMPLE
MAX_COUNT_SUPPORTED_NUMBER_OF_CHANNELS
MAX_COUNT_SUPPORTED_RATES
MAX_COUNT_SUPPORTED_SAMPLE_FORMATS
MAX_COUNT_SUPPORTED_VALID_BITS_PER_SAMPLE
MAX_DAI_UI_STRING_SIZE
MAX_UI_STRING_SIZE
UNIQUE_ID_SIZE

Type Aliases§

ClockDomain
ElementId
TopologyId