template <>

class WireSyncClientImpl

Defined at line 649 of file fidling/gen/sdk/fidl/fuchsia.hardware.dsp/fuchsia.hardware.dsp/cpp/fidl/fuchsia.hardware.dsp/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_hardware_dsp::DspDevice>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_hardware_dsp::DspDevice::LoadFirmware> LoadFirmware (::fidl::StringView fw_name)

Load DSP firmware.

|fw_name| : The name of the firmware to load.

error a zx_status value indicating failure. One of the following:

`ZX_ERR_NOT_FOUND` if the firmware does not exist.

Allocates 96 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_dsp::DspDevice::Start> Start ()

Start DSP.

error a zx_status value indicating failure. Two of the following:

`ZX_ERR_BAD_STATE` if the DSP firmware fails to load, execute the DSP start command.

`ZX_ERR_OUT_OF_RANGE` if the execution of the smcc command started by the DSP fails.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_dsp::DspDevice::Stop> Stop ()

Stop DSP.

error a zx_status value indicating failure. Two of the following:

`ZX_ERR_BAD_STATE` if DSP is not started, execute DSP stop.

`ZX_ERR_OUT_OF_RANGE` if the execution of the smcc command stopped by the DSP fails.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.