template <>

class NaturalEventHandlerInterface

Defined at line 682 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h

Public Methods

void NaturalEventHandlerInterface ()

Defined at line 685 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h

void OnSetFormat (::fidl::Event< ::fuchsia_virtualaudio::Device::OnSetFormat> & )

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

void OnSetGain (::fidl::Event< ::fuchsia_virtualaudio::Device::OnSetGain> & )

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

void OnBufferCreated (::fidl::Event< ::fuchsia_virtualaudio::Device::OnBufferCreated> & )

Notifies all subscribed listeners when the above buffer has been

created.

void OnStart (::fidl::Event< ::fuchsia_virtualaudio::Device::OnStart> & )

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::Event< ::fuchsia_virtualaudio::Device::OnStop> & )

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::Event< ::fuchsia_virtualaudio::Device::OnPositionNotify> & )

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 ~NaturalEventHandlerInterface ()

Defined at line 686 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/natural_messaging.h