class RingBufferConstraints
Defined at line 781 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/hlcpp/fuchsia/virtualaudio/cpp/fidl.h
Set restrictions for the device ring buffer. This must be called before
calling `Add()`, or after `Remove()`. Once the device is activated, the
ring buffer and its size are returned by the driver in response to an
`AUDIO_RB_CMD_GET_BUFFER` command on the ring buffer channel.
Note: both min_frames and max_frames must be multiples of modulo_frames.
Public Members
uint32_t min_frames
uint32_t max_frames
uint32_t modulo_frames
Public Methods
::std::unique_ptr<RingBufferConstraints> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RingBufferConstraints * value, size_t _offset)
zx_status_t Clone (RingBufferConstraints * result)