Crate fidl_fuchsia_hardware_audio

Crate fidl_fuchsia_hardware_audio 

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§

DataTransferUnknown
Pattern that matches an unknown DataTransfer member.
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.
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.
CodecConnectorConnectRequest
CodecConnectorControlHandle
CodecConnectorEventStream
CodecConnectorMarker
CodecConnectorProxy
CodecConnectorRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/CodecConnector.
CodecConnectorServiceMarker
CodecConnectorServiceProxy
Deprecation
CodecConnectorSynchronousProxy
CodecControlHandle
CodecEventStream
CodecFormatInfo
Codec format information.
CodecGetDaiFormatsResponder
CodecGetDaiFormatsResponse
CodecGetHealthStateResponder
CodecGetPropertiesResponder
CodecGetPropertiesResponse
CodecMarker
CodecProperties
CodecProxy
CodecRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/Codec.
CodecResetResponder
CodecServiceMarker
CodecServiceProxy
Deprecation
CodecSetDaiFormatRequest
CodecSetDaiFormatResponder
CodecSetDaiFormatResponse
CodecStartResponder
CodecStartResponse
CodecStopResponder
CodecStopResponse
CodecSynchronousProxy
CodecWatchPlugStateResponder
CodecWatchPlugStateResponse
CompositeConnectorConnectRequest
CompositeConnectorControlHandle
CompositeConnectorEventStream
CompositeConnectorMarker
CompositeConnectorProxy
CompositeConnectorRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/CompositeConnector.
CompositeConnectorServiceMarker
CompositeConnectorServiceProxy
CompositeConnectorSynchronousProxy
CompositeControlHandle
CompositeCreatePacketStreamRequest
CompositeCreatePacketStreamResponder
CompositeCreateRingBufferRequest
CompositeCreateRingBufferResponder
CompositeEventStream
CompositeGetDaiFormatsRequest
CompositeGetDaiFormatsResponder
CompositeGetDaiFormatsResponse
CompositeGetHealthStateResponder
CompositeGetPacketStreamFormatsRequest
CompositeGetPacketStreamFormatsResponder
CompositeGetPacketStreamFormatsResponse
CompositeGetPropertiesResponder
CompositeGetPropertiesResponse
CompositeGetRingBufferFormatsRequest
CompositeGetRingBufferFormatsResponder
CompositeGetRingBufferFormatsResponse
CompositeMarker
CompositeProperties
CompositeProxy
CompositeRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/Composite.
CompositeResetResponder
CompositeSetDaiFormatRequest
CompositeSetDaiFormatResponder
CompositeSynchronousProxy
DaiConnectorConnectRequest
DaiConnectorControlHandle
DaiConnectorEventStream
DaiConnectorMarker
DaiConnectorProxy
DaiConnectorRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/DaiConnector.
DaiConnectorServiceMarker
DaiConnectorServiceProxy
Deprecation
DaiConnectorSynchronousProxy
DaiControlHandle
DaiCreateRingBufferRequest
DaiEventStream
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.
DaiGetDaiFormatsResponder
DaiGetDaiFormatsResponse
DaiGetHealthStateResponder
DaiGetPropertiesResponder
DaiGetPropertiesResponse
DaiGetRingBufferFormatsResponder
DaiGetRingBufferFormatsResponse
DaiMarker
DaiProperties
DaiProxy
DaiRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/Dai.
DaiResetResponder
DaiServiceMarker
DaiServiceProxy
Deprecation
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.
DaiSynchronousProxy
DelayInfo
Delay information as returned by the driver.
DeviceServiceMarker
DeviceServiceProxy
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.
HealthControlHandle
HealthEventStream
HealthGetHealthStateResponder
HealthGetHealthStateResponse
HealthMarker
HealthProxy
HealthRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/Health.
HealthState
HealthSynchronousProxy
PacketStreamControlAllocateVmosResponder
PacketStreamControlAllocateVmosResponse
PacketStreamControlControlHandle
PacketStreamControlDeallocateVmosResponder
PacketStreamControlEventStream
PacketStreamControlGetPacketStreamSinkResponder
PacketStreamControlGetPacketStreamSinkResponse
PacketStreamControlGetPropertiesResponder
PacketStreamControlGetPropertiesResponse
PacketStreamControlMarker
PacketStreamControlProxy
PacketStreamControlRegisterVmosResponder
PacketStreamControlRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/PacketStreamControl.
PacketStreamControlSetPacketStreamSinkRequest
PacketStreamControlSetPacketStreamSinkResponder
PacketStreamControlStartResponder
PacketStreamControlStopResponder
PacketStreamControlSynchronousProxy
PacketStreamControlUnregisterVmosResponder
PacketStreamProperties
Properties of the packet-stream. These values don’t change once the packet-stream is created.
PacketStreamSinkControlHandle
PacketStreamSinkEventStream
PacketStreamSinkFlushPacketsResponder
PacketStreamSinkMarker
PacketStreamSinkProxy
PacketStreamSinkPutPacketRequest
PacketStreamSinkPutPacketResponder
PacketStreamSinkPutPacketResponse
PacketStreamSinkRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/PacketStreamSink.
PacketStreamSinkSynchronousProxy
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’.
RegisterVmosConfig
RingBufferControlHandle
RingBufferEventStream
RingBufferGetPropertiesResponder
RingBufferGetPropertiesResponse
RingBufferGetVmoRequest
RingBufferGetVmoResponder
RingBufferGetVmoResponse
RingBufferMarker
RingBufferPositionInfo
RingBufferProperties
Properties of the ring buffer. These values don’t change once the ring buffer is created.
RingBufferProxy
RingBufferRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/RingBuffer.
RingBufferSetActiveChannelsRequest
RingBufferSetActiveChannelsResponder
RingBufferSetActiveChannelsResponse
RingBufferStartResponder
RingBufferStartResponse
RingBufferStopResponder
RingBufferSynchronousProxy
RingBufferWatchClockRecoveryPositionInfoResponder
RingBufferWatchClockRecoveryPositionInfoResponse
RingBufferWatchDelayInfoResponder
RingBufferWatchDelayInfoResponse
StreamConfigConnectorConnectRequest
StreamConfigConnectorControlHandle
StreamConfigConnectorEventStream
StreamConfigConnectorInputServiceMarker
StreamConfigConnectorInputServiceProxy
StreamConfigConnectorMarker
StreamConfigConnectorOutputServiceMarker
StreamConfigConnectorOutputServiceProxy
StreamConfigConnectorProxy
StreamConfigConnectorRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/StreamConfigConnector.
StreamConfigConnectorServiceMarker
StreamConfigConnectorServiceProxy
Deprecation
StreamConfigConnectorSynchronousProxy
StreamConfigControlHandle
StreamConfigCreateRingBufferRequest
StreamConfigEventStream
StreamConfigGetHealthStateResponder
StreamConfigGetPropertiesResponder
StreamConfigGetPropertiesResponse
StreamConfigGetSupportedFormatsResponder
StreamConfigGetSupportedFormatsResponse
StreamConfigMarker
StreamConfigProxy
StreamConfigRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/StreamConfig.
StreamConfigServiceMarker
StreamConfigServiceProxy
Deprecation
StreamConfigSetGainRequest
StreamConfigSynchronousProxy
StreamConfigWatchGainStateResponder
StreamConfigWatchGainStateResponse
StreamConfigWatchPlugStateResponder
StreamConfigWatchPlugStateResponse
StreamProperties
SupportedEncodings
Supported formats for encoded audio.
SupportedFormats
Deprecated: Use SupportedFormats2 instead.
VmoInfo
VMO information for registering VMOs. Used in RegisterVmos and AllocateVmos to pair a VMO handle with a unique ID.
VmoTransfer
This describes a VMO section containing audio data.

Enums§

CodecConnectorEvent
CodecConnectorRequest
For an overview of the Codec protocols see Codec Interface
CodecConnectorServiceRequest
A request for one of the member protocols of CodecConnectorService.
CodecEvent
CodecRequest
For an overview see [Audio Codec Interface].
CodecServiceRequest
A request for one of the member protocols of CodecService.
CompositeConnectorEvent
CompositeConnectorRequest
For an overview see Audio Composite Devices.
CompositeConnectorServiceRequest
A request for one of the member protocols of CompositeConnectorService.
CompositeEvent
CompositeRequest
DaiConnectorEvent
DaiConnectorRequest
For an overview of the DAI protocols see Digital Audio Interface
DaiConnectorServiceRequest
A request for one of the member protocols of DaiConnectorService.
DaiEvent
DaiFrameFormat
Either a standard or custom frame format.
DaiFrameFormatStandard
Standard Frame format.
DaiRequest
For an overview see Digital Audio Interface.
DaiSampleFormat
DaiServiceRequest
A request for one of the member protocols of DaiService.
DataTransfer
Data to be transferred. There are two supported ways data may be conveyed, corresponding to the two members of the DataTransfer union:
DeviceServiceRequest
A request for one of the member protocols of DeviceService.
DeviceType
DriverError
EncodingType
The type of encoding used for the stream.
Format2
GetVmoError
HealthEvent
HealthRequest
PacketStreamControlEvent
PacketStreamControlRequest
Control protocol for establishing and managing the packet stream.
PacketStreamSinkEvent
PacketStreamSinkRequest
The protocol for streaming packet-based audio data. This protocol functions as a data sink. The “server” of this protocol consumes packets, and the “client” produces packets.
PlugDetectCapabilities
RingBufferEvent
RingBufferRequest
Ring buffers are used to convey audio between parties (usually in different processes), allowing concurrent, asynchronous data access without requiring locks. This pattern works because both parties share an understanding of which buffer areas are safe to access, and how those areas change over time.
SampleFormat
StreamConfigConnectorEvent
StreamConfigConnectorInputServiceRequest
A request for one of the member protocols of StreamConfigConnectorInputService.
StreamConfigConnectorOutputServiceRequest
A request for one of the member protocols of StreamConfigConnectorOutputService.
StreamConfigConnectorRequest
For an overview see Audio Driver Streaming Interface.
StreamConfigConnectorServiceRequest
A request for one of the member protocols of StreamConfigConnectorService.
StreamConfigEvent
StreamConfigRequest
For an overview see Audio Driver Streaming Interface
StreamConfigServiceRequest
A request for one of the member protocols of StreamConfigService.
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.

Traits§

CodecConnectorProxyInterface
CodecProxyInterface
CompositeConnectorProxyInterface
CompositeProxyInterface
DaiConnectorProxyInterface
DaiProxyInterface
HealthProxyInterface
PacketStreamControlProxyInterface
PacketStreamSinkProxyInterface
RingBufferProxyInterface
StreamConfigConnectorProxyInterface
StreamConfigProxyInterface

Type Aliases§

ClockDomain
CodecGetDaiFormatsResult
CodecSetDaiFormatResult
CompositeCreatePacketStreamResult
CompositeCreateRingBufferResult
CompositeGetDaiFormatsResult
CompositeGetPacketStreamFormatsResult
CompositeGetRingBufferFormatsResult
CompositeResetResult
CompositeSetDaiFormatResult
DaiGetDaiFormatsResult
DaiGetRingBufferFormatsResult
ElementId
PacketStreamControlAllocateVmosResult
PacketStreamControlDeallocateVmosResult
PacketStreamControlGetPacketStreamSinkResult
PacketStreamControlRegisterVmosResult
PacketStreamControlSetPacketStreamSinkResult
PacketStreamControlStartResult
PacketStreamControlStopResult
PacketStreamControlUnregisterVmosResult
PacketStreamSinkFlushPacketsResult
PacketStreamSinkPutPacketResult
RingBufferGetVmoResult
RingBufferSetActiveChannelsResult
TopologyId
VmoId
VmoInfos