template <>
class WireWeakBufferEventSender
Defined at line 3591 of file fidling/gen/sdk/fidl/fuchsia.virtualaudio/fuchsia.virtualaudio/cpp/fidl/fuchsia.virtualaudio/cpp/wire_messaging.h
Public Methods
fidl::OneWayStatus OnSetFormat (uint32_t frames_per_second, uint32_t sample_format, uint32_t num_channels, int64_t external_delay)
Notifies all subscribed listeners when the above format is set or changed.
fidl::OneWayStatus OnSetGain (bool current_mute, bool current_agc, float current_gain_db)
Notifies all subscribed listeners when the above gain is set or changed.
fidl::OneWayStatus OnBufferCreated (::zx::vmo && ring_buffer, uint32_t num_ring_buffer_frames, uint32_t notifications_per_ring)
Notifies all subscribed listeners when the above buffer has been
created.
fidl::OneWayStatus OnStart (int64_t start_time)
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).
fidl::OneWayStatus OnStop (int64_t stop_time, uint32_t ring_position)
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.
fidl::OneWayStatus OnPositionNotify (int64_t monotonic_time, uint32_t ring_position)
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`.