Namespaces

Enumerations

enum class DaiSampleFormat : uint8_t
Name Value Comments
kPdm 1u

Pulse Density Modulation samples.

kPcmSigned 2u

Signed integer Linear Pulse Code Modulation samples, at the host endianness.

kPcmUnsigned 3u

Unsigned integer Linear Pulse Code Modulation samples, at the host endianness.

kPcmFloat 4u

Floating point samples, encoded per the IEEE-754 standard.

Defined at line 234 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h

enum class DaiFrameFormatStandard : uint8_t
Name Value Comments
kNone 1u

No frame format as in samples without a frame sync like PDM.

kI2S 2u

Format as specified in the I2S specification (left justified, 2 channels, 32 bits per
sample, frame sync stays low for the left channel and high for the right channel, data
starts one clock cycle after frame sync changes clocked out at the falling edge of sclk).

kStereoLeft 3u

Left justified, 2 channels. Data starts at frame sync changes from low to high clocked out
at the falling edge of sclk. The frame sync must stay high for `bits_per_sample` bits for
the first channel and low for `bits_per_sample` bits for the second channel.

kStereoRight 4u

Right justified, 2 channels. The frame sync must stay high for `bits_per_sample` bits for
the first channel and low for `bits_per_sample` bits for the second channel.

kTdm1 5u

Left justified, variable number of channels, data starts at frame sync changes from low to
high clocked out at the rising edge of sclk. The frame sync must stay high for exactly 1
clock cycle.

kTdm2 6u

Left justified, variable number of channels, data starts one clock cycle after the frame
sync changes from low to high clocked out at the rising edge of sclk. The frame sync must
stay high for exactly 1 clock cycle.

kTdm3 7u

Left justified, variable number of channels, data starts two clock cycles after the frame
sync changes from low to high clocked out at the rising edge of sclk. The frame sync must
stay high for exactly 1 clock cycle.

Standard Frame format.

Defined at line 260 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h

enum class SampleFormat : uint8_t
Name Value Comments
kPcmSigned 1u

Signed integer Linear Pulse Code Modulation samples, at the host endianness.

kPcmUnsigned 2u

Unsigned integer Linear Pulse Code Modulation samples, at the host endianness.

kPcmFloat 3u

Floating point samples, encoded per the IEEE-754 standard.

Defined at line 458 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h

enum class PlugDetectCapabilities : uint32_t
Name Value Comments
kHardwired 0u

Driver is hardwired (will always be plugged in).

kCanAsyncNotify 1u

Driver is able to asynchronously notify of plug state changes.

Defined at line 480 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h

enum class GetVmoError : uint32_t
Name Value Comments
kInvalidArgs 1u

The ring buffer setup failed due to an invalid argument, e.g. min_frames is too big.

kInternalError 2u

The ring buffer setup failed due to an internal error.

Defined at line 505 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/common_types.h

Records

Functions

  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecFormatInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecStopResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecStartResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecSetDaiFormatResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecSetDaiFormatResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecConnectorConnectRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DriverError & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeResetResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeResetResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetRingBufferFormatsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreateRingBufferResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreateRingBufferResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetDaiFormatsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeSetDaiFormatResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeSetDaiFormatResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetPacketStreamFormatsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreatePacketStreamResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreatePacketStreamResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeConnectorConnectRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiConnectorConnectRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiSampleFormat & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiFrameFormatStandard & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiFrameFormatCustom & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiFrameFormat & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiFormat & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecSetDaiFormatRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeSetDaiFormatRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiSupportedFormats & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecGetDaiFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecGetDaiFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetDaiFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetDaiFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiGetDaiFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiGetDaiFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DeviceType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::EncodingType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::Encoding & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::HealthState & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::HealthGetHealthStateResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::BufferType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::AllocateVmosConfig & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::VmoInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RegisterVmosConfig & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::VmoTransfer & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DataTransfer & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlGetPropertiesResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlAllocateVmosResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlAllocateVmosResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlDeallocateVmosResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlDeallocateVmosResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlRegisterVmosResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlRegisterVmosResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlUnregisterVmosResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlUnregisterVmosResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlGetPacketStreamSinkResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlGetPacketStreamSinkResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlSetPacketStreamSinkRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlSetPacketStreamSinkResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlSetPacketStreamSinkResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlStartResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlStartResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlStopResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamControlStopResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamSinkPutPacketRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamSinkPutPacketResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamSinkPutPacketResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamSinkFlushPacketsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PacketStreamSinkFlushPacketsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::SampleFormat & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::ChannelAttributes & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::ChannelSet & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::SupportedEncodings & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PcmSupportedFormats & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::SupportedFormats & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiGetRingBufferFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiGetRingBufferFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::SupportedFormats2 & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetRingBufferFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetRingBufferFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetPacketStreamFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetPacketStreamFormatsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PcmFormat & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::Format & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiCreateRingBufferRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::Format2 & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreateRingBufferRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeCreatePacketStreamRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PlugState & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecWatchPlugStateResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::PlugDetectCapabilities & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DelayInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferPositionInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::GetVmoError & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferWatchClockRecoveryPositionInfoResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferGetVmoRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferGetVmoResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferGetVmoResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferStartResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferSetActiveChannelsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferSetActiveChannelsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferSetActiveChannelsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferWatchDelayInfoResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::RingBufferWatchDelayInfoResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::GainState & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigGetSupportedFormatsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigCreateRingBufferRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigWatchGainStateResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigSetGainRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigWatchPlugStateResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigConnectorConnectRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CodecGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::CompositeGetPropertiesResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::DaiGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamProperties & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::StreamConfigGetPropertiesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_hardware_audio::SingularUniqueId & value)