Skip to main content
Open topic with navigation CAPL Functions » MOST » mostSetSyncSpdifLock

mostSetSyncSpdifLock

Valid for: CANoe DE Note
This function is only available with MOST hardware VN2610.

Function Syntax

long mostSetSyncSpdifLock(long channel, long mode);

Description

The function locks the internal S/PDIF timing generator on the S/PDIF input data stream. Unlock the timing generator if frame synchronization is not possible due to a closed loop configuration. A closed loop means that the S/PDIF input signal is locked through an external S/PDIF device on the S/PDIF output of the network interface.

Parameters

  • channel: Channel of the connected interface
  • mode:
    • 0: Separates the timing generator from the S/PDIF input data stream.
    • 1: Locks the timing generator on the S/PDIF input data stream.

Return Values

See error codes

Example

Use Cases: More S/PDIF examples see MOST Access to Digital Audio Channels (S/PDIF In and Out). mostSetSyncSpdifmostSetSyncSpdifModemostGetSyncSpdifModemostSetClockSourcemostGetClockSourcemostSetSyncAudio