template <>

class WireAsyncEventHandler

Defined at line 2773 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_messaging.h

Public Methods

void OnSetFormat (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnSetFormat> * event)

Notifies all subscribed listeners when the above format is set or changed.

void OnSetGain (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnSetGain> * event)

Notifies all subscribed listeners when the above gain is set or changed.

void OnBufferCreated (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnBufferCreated> * event)

Notifies all subscribed listeners when the above buffer has been

created.

void OnStart (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnStart> * event)

Notifies all subscribed listeners when the device is commanded to Start

streaming. This can only occur after a device is fully configured

(format is set; ring buffer is established and fetched).

void OnStop (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnStop> * event)

Notifies all subscribed listeners when the device is commanded to Stop

streaming. This can only occur when the device is already Started. Stop

returns the device to a fully-configured state. Upon this command, the

already-set format and ring buffer are retained without change, but

position will re-begin at 0, if the device is again Started.

void OnPositionNotify (::fidl::WireEvent< ::fuchsia_virtualaudio::Device::OnPositionNotify> * event)

Notifies all subscribed listeners when any position notification is

issued by the driver. The frequency of these per-stream notifications is

set by whoever opened the device,, though the frequency can be overriden

by `SetNotificationFrequency`.

void WireAsyncEventHandler ()

Defined at line 2777 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_messaging.h