Macros§
- Control
Codec Start Error Unknown - Pattern that matches an unknown
ControlCodecStartError
member. - Control
Codec Stop Error Unknown - Pattern that matches an unknown
ControlCodecStopError
member. - Control
Create Ring Buffer Error Unknown - Pattern that matches an unknown
ControlCreateRingBufferError
member. - Control
Creator Error Unknown - Pattern that matches an unknown
ControlCreatorError
member. - Control
Reset Error Unknown - Pattern that matches an unknown
ControlResetError
member. - Control
SetDai Format Error Unknown - Pattern that matches an unknown
ControlSetDaiFormatError
member. - Device
Type Unknown - Pattern that matches an unknown
DeviceType
member. - Observer
GetReference Clock Error Unknown - Pattern that matches an unknown
ObserverGetReferenceClockError
member. - Observer
Watch Plug State Error Unknown - Pattern that matches an unknown
ObserverWatchPlugStateError
member. - Plug
Detect Capabilities Unknown - Pattern that matches an unknown
PlugDetectCapabilities
member. - Plug
State Unknown - Pattern that matches an unknown
PlugState
member. - Provider
AddDevice Error Unknown - Pattern that matches an unknown
ProviderAddDeviceError
member. - Registry
Create Observer Error Unknown - Pattern that matches an unknown
RegistryCreateObserverError
member. - Registry
Watch Device Removed Error Unknown - Pattern that matches an unknown
RegistryWatchDeviceRemovedError
member. - Registry
Watch Devices Added Error Unknown - Pattern that matches an unknown
RegistryWatchDevicesAddedError
member. - Ring
Buffer SetActive Channels Error Unknown - Pattern that matches an unknown
RingBufferSetActiveChannelsError
member. - Ring
Buffer Start Error Unknown - Pattern that matches an unknown
RingBufferStartError
member. - Ring
Buffer Stop Error Unknown - Pattern that matches an unknown
RingBufferStopError
member. - Ring
Buffer Watch Delay Info Error Unknown - Pattern that matches an unknown
RingBufferWatchDelayInfoError
member.
Structs§
- Channel
Attributes - The attributes (e.g. frequency range) of a single channel.
- Channel
Set - One possible channel configuration for the device.
- Control
Codec Start Response - Control
Codec Stop Response - Control
Creator Create Response - Control
Reset Response - Control
SetDai Format Request - Control
SetDai Format Response - Delay
Info - Element
DaiFormat Set - This table represents the possible Dai formats that this endpoint can support.
- Element
Ring Buffer Format Set - This table represents the possible RingBuffer formats that this endpoint can support.
- Info
- When a device is detected (or added via
Provider/AddDevice
), it is queried for its properties and capabilities. Once this enumeration process completes, it is announced to clients that are watching for device arrivals viaRegistry/WatchDevicesAdded
. - Observer
Watch Plug State Response - PcmFormat
Set - This table contains vectors representing three dimensions of device configuration (channelization, sample format, frame rate). The device should support all combinations of the items in these vectors.
- Provider
AddDevice Response - Registry
Create Observer Response - Registry
Watch Device Removed Response - Registry
Watch Devices Added Response - Ring
Buffer Options - Parameters specified by a caller when creating a ring buffer.
- Ring
Buffer Properties - Information about the ring buffer or associated audio stream.
- Ring
Buffer SetActive Channels Request - Ring
Buffer SetActive Channels Response - Ring
Buffer Start Request - Ring
Buffer Start Response - Ring
Buffer Stop Request - Ring
Buffer Stop Response - Ring
Buffer Watch Delay Info Response
Enums§
- Control
Codec Start Error - Errors returned by
Control/CodecStart
. - Control
Codec Stop Error - Errors returned by
Control/CodecStop
. - Control
Create Ring Buffer Error - Errors returned by
Control/CreateRingBuffer
. - Control
Creator Error - Errors returned by
ControlCreator/Create
. - Control
Reset Error - Errors returned by
Control/Reset
. - Control
SetDai Format Error - Errors returned by
Control/SetDaiFormat
. - Device
Type - The protocol used by the driver.
- Observer
GetReference Clock Error - Errors returned by
Observer/GetReferenceClock
. - Observer
Watch Plug State Error - Errors returned by
Observer/WatchPlugState
. - Plug
Detect Capabilities - The device’s hot-plug capabilities.
- Plug
State - The current plugged-in state for the device.
- Provider
AddDevice Error - Errors returned by the
Provider
protocol. - Registry
Create Observer Error - Errors returned by
Registry/CreateObserver
. - Registry
Watch Device Removed Error - Errors returned by
Registry/WatchDeviceRemoved
. - Registry
Watch Devices Added Error - Errors returned by
Registry/WatchDevicesAdded
. - Ring
Buffer SetActive Channels Error - Errors returned by
RingBuffer/SetActiveChannels
. - Ring
Buffer Start Error - Errors returned by
RingBuffer/Start
. - Ring
Buffer Stop Error - Errors returned by
RingBuffer/Stop
. - Ring
Buffer Watch Delay Info Error - Errors returned by
RingBuffer/WatchDelayInfo
.
Constants§
- DEFAULT_
DAI_ INTERCONNECT_ ELEMENT_ ID - For devices with Codec drivers, there is only one DAI_INTERCONNECT entity. When a method requires us to address the interconnect by ID, we use element_id 1. Codec drivers that implement signalprocessing should not assign this ID to other elements.
- MAX_
COUNT_ CHANNELS - Maximum number of channels that a device can report as supported.
- MAX_
COUNT_ CHANNEL_ SETS - Maximum number of
ChannelSet
s that a device can report in a single PcmFormatSet. - MAX_
COUNT_ DAI_ FORMATS - MAX_
COUNT_ DEVICES - Maximum number of audio devices in the system at any time.
- MAX_
COUNT_ FORMATS - Maximum number of
PcmFormatSet
s that a device can report as supported. - MAX_
COUNT_ PROCESSING_ ELEMENTS - Maximum number of processing elements supported by a single device.
- MAX_
COUNT_ RATES - Maximum number of frame rates that a device can report in a PcmFormatSet.
- MAX_
COUNT_ SAMPLE_ TYPES - Maximum number of distinct sample formats that a single PcmFormatSet can contain.
- MAX_
STRING_ SIZE - Maximum length of the strings for device, manufacturer and product names.
- UNIQUE_
INSTANCE_ ID_ SIZE - The length of the device’s unique ID, in bytes.
Type Aliases§
- Clock
Domain - Common aliases, consts and types used by more than one of the fuchsia.audio.device protocols.
- Element
Id - TokenId
- Topology
Id