Skip to content

OcaSamplingRateConverter#

This document describes the controller implementation of OcaSamplingRateConverter. This class is documented in the AES70 standard as:

Sampling rate converter. ClockMap property inherited from OcaWorker shall define the input and output clocks to be used for the conversion(s).


Overview#

Class Declaration#

namespace aes70::controller
{
  class OcaSamplingRateConverter : public OcaActuator
  {
  public:
    OcaSamplingRateConverter(std::shared_ptr<connection> connection,
            uin32_t object_number);
    OcaSamplingRateConverter(const OcaSamplingRateConverter &o);

    // Control Methods
    // Calls GetType and calls on_result or on_failure
    void GetType(auto on_result, failure_callback on_failure);

    // Observing Properties

    // Property Changed Subscriptions
  };
}

Methods#

GetType#

void GetType(auto on_result, failure_callback on_failure)

Calls the method GetType in the remote device.

Parameters:#

  • auto on_result: A callable (e.g. a lambda) with the following arguments:
    • OcaSamplingRateConverterType SrcType
  • failure_callback on_failure: A callback which is called on error.