Crate fidl_fuchsia_hardware_audio__common

Crate fidl_fuchsia_hardware_audio__common 

Source

Modules§

codec_connector_ordinals
codec_ordinals
composite_connector_ordinals
composite_ordinals
dai_connector_ordinals
dai_ordinals
health_ordinals
packet_stream_control_ordinals
packet_stream_sink_ordinals
ring_buffer_ordinals
stream_config_connector_ordinals
stream_config_ordinals

Macros§

DeviceTypeUnknown
Pattern that matches an unknown DeviceType member.
DriverErrorUnknown
Pattern that matches an unknown DriverError member.
EncodingTypeUnknown
Pattern that matches an unknown EncodingType member.
Format2Unknown
Pattern that matches an unknown Format2 member.
SingularUniqueIdUnknown
Pattern that matches an unknown SingularUniqueId member.
SupportedFormats2Unknown
Pattern that matches an unknown SupportedFormats2 member.

Structs§

AllocateVmosConfig
BufferType
Types of buffer ownership/transfer supported by the stream. Multiple values can be supported by the driver.
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
CodecProperties
CodecSetDaiFormatRequest
CodecSetDaiFormatResponse
CodecStartResponse
CodecStopResponse
CodecWatchPlugStateResponse
CompositeGetDaiFormatsRequest
CompositeGetDaiFormatsResponse
CompositeGetPacketStreamFormatsRequest
CompositeGetPacketStreamFormatsResponse
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.
Encoding
Format specification for an encoded audio stream.
Format
Deprecated: Use Format2 instead.
GainState
Gain state requested by the client or returned by the driver.
HealthGetHealthStateResponse
HealthState
PacketStreamControlGetPropertiesResponse
PacketStreamProperties
Properties of the packet-stream. These values don’t change once the packet-stream is created.
PacketStreamSinkPutPacketResponse
PcmFormat
Format supporting 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.
PcmSupportedFormats
Format supporting 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.
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
SupportedEncodings
Supported formats for encoded audio.
SupportedFormats
Deprecated: Use SupportedFormats2 instead.

Enums§

DaiFrameFormat
Either a standard or custom frame format.
DaiFrameFormatStandard
Standard Frame format.
DaiSampleFormat
DeviceType
DriverError
EncodingType
The type of encoding used for the stream.
Format2
GetVmoError
PlugDetectCapabilities
SampleFormat
SingularUniqueId
Identifies devices that are unique within the system. A UniqueId for these devices consists of the enum value followed by (UNIQUE_ID_SIZE - 1) zeroes.
SupportedFormats2
All the possible formats supported by this device.

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_ENCODED_CHANNEL_SETS
MAX_COUNT_ENCODED_SUPPORTED_RATES
MAX_COUNT_ENCODED_TYPES
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_INLINE_TRANSFER_SIZE
MAX_UI_STRING_SIZE
UNIQUE_ID_SIZE
VMO_VECTOR_MAX
The maximum number of VMOs that can be registered or allocated.

Type Aliases§

ClockDomain
ElementId
TopologyId
UniqueId
UniqueId arrays starting with 0x42, 0x54, … (or BT in ASCII) are reserved for drivers implementing Bluetooth technologies. UniqueId arrays starting with 0x55, 0x53, 0x42, … (or USB in ASCII) are reserved for drivers implementing USB technologies. Note that even though the above values map to readable ASCII characters, array values can span the entire uint8 range (0-255).
VmoId