1.2.6 OcaMediaClock

Class Hierarchy:

OcaRoot : OcaAgent : OcaMediaClock

class OcaMediaClock : OcaAgent

DEPRECATED CLASS Replaced by OcaMediaClock3 A media clock, internal or external.

Properties:

static const OcaClassID ClassID = "1.2.6"

This property is an override of the OcaRoot property.

This property has id 1.1.

static const OcaClassVersionNumber ClassVersion = 3

This property has id 1.2.

OcaMediaClockRate CurrentRate

Current clock rate

This property has id 3.4.

OcaUint16 DomainID

Clock domain ID. Arbitrary value.

This property has id 3.2.

OcaMediaClockLockState LockState

Lock state of clock.

This property has id 3.5.

OcaList<OcaMediaClockRate> RatesSupported

List of supported rates

This property has id 3.3.

OcaMediaClockType Type

Type of clock.

This property has id 3.1.

Properties inherited from 1.2 OcaAgent:

Methods:

OcaStatus GetType(OcaMediaClockType &Type)

Gets the value of the Type property. The return value indicates whether the value was successfully retrieved.

This method has id 3.1.

  • Type: Output parameter.

OcaStatus SetType(OcaMediaClockType Type)

Sets the value of the Type property. The return value indicates whether the value was successfully set. Optional method, may not be supported in all implementations.

This method has id 3.2.

  • Type: Input parameter.

OcaStatus GetDomainID(OcaUint16 &ID)

Gets the value of the DomainID property. The return value indicates whether the value was successfully retrieved.

This method has id 3.3.

  • ID: Output parameter.

OcaStatus SetDomainID(OcaUint16 ID)

Sets the value of the DomainID property. The return value indicates whether the value was successfully set. Optional method, may not be supported in all implementations.

This method has id 3.4.

  • ID: Input parameter.

OcaStatus GetSupportedRates(OcaList<OcaMediaClockRate> &ID)

Gets the list of supported sampling rates. The return value indicates whether the list was successfully retrieved.

This method has id 3.5.

  • ID: Output parameter.

OcaStatus GetRate(OcaMediaClockRate &rate)

Gets the current sampling rate. The return value indicates whether the value was successfully retrieved.

This method has id 3.6.

  • rate: Output parameter.

OcaStatus SetRate(OcaMediaClockRate rate)

Sets the sampling rate. The return value indicates whether the rate was successfully set.

This method has id 3.7.

  • rate: Input parameter.

OcaStatus GetLockState(OcaMediaClockLockState &state)

Gets the current media clock lock state. The return value indicates whether the value was successfully retrieved.

This method has id 3.8.

  • state: Output parameter.

Methods inherited from 1.2 OcaAgent: