Crate fidl_fuchsia_hardware_audio

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.
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
CodecIsBridgeableResponder
CodecIsBridgeableResponse
CodecMarker
CodecProperties
CodecProxy
CodecRequestStream
A Stream of incoming requests for fuchsia.hardware.audio/Codec.
CodecResetResponder
CodecServiceMarker
CodecServiceProxy
Deprecation
CodecSetBridgedModeRequest
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
CompositeCreateRingBufferRequest
CompositeCreateRingBufferResponder
CompositeEventStream
CompositeGetDaiFormatsRequest
CompositeGetDaiFormatsResponder
CompositeGetDaiFormatsResponse
CompositeGetHealthStateResponder
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
Format
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
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’.
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
SupportedFormats
All the possible formats supported by this device.

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
The Composite interface is a FIDL protocol exposed by audio drivers. The Composite interface is generic and allows the configuration of various audio hardware types including those supported by the StreamConfig, Dai and Codec FIDL interfaces. The Composite interface is more generic and provides more flexible routing within audio subsystems. Also see Audio Driver Composite The hardware abstracted by the Composite protocol will be turned off (placed in its lowest supported power state) until a call to any APIs that requires the hardware to be turned on (placed in a higher power state).
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.
DeviceServiceRequest
A request for one of the member protocols of DeviceService.
DeviceType
DriverError
GetVmoError
HealthEvent
HealthRequest
PlugDetectCapabilities
RingBufferEvent
RingBufferRequest
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.

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

Traits§

CodecConnectorProxyInterface
CodecProxyInterface
CompositeConnectorProxyInterface
CompositeProxyInterface
DaiConnectorProxyInterface
DaiProxyInterface
HealthProxyInterface
RingBufferProxyInterface
StreamConfigConnectorProxyInterface
StreamConfigProxyInterface

Type Aliases§

ClockDomain
CodecGetDaiFormatsResult
CodecSetDaiFormatResult
CompositeCreateRingBufferResult
CompositeGetDaiFormatsResult
CompositeGetRingBufferFormatsResult
CompositeResetResult
CompositeSetDaiFormatResult
DaiGetDaiFormatsResult
DaiGetRingBufferFormatsResult
ElementId
RingBufferGetVmoResult
RingBufferSetActiveChannelsResult
TopologyId