6 audio format functions, Audio format functions – ADLINK PCIe-2602 User Manual

Page 59

Advertising
background image

Function Library

49

PCIe-2602-FLR

Parameter(s)

Number

The number of the SDI channel, with allowed values from 0

to 31.

Value

State of the DO channel of SetDigitalIOSelector is between

0 to 3, with the following values:

0: Low

1: High

2. State of all DO channels if Channel of SetDigitalIOSelec-

tor is 0xFFFFFFFF, with the following values:

bit n = 0: Low

bit n = 0: High

where n is from 0 to 3 representing the state of DO0 to DO3

respectively.

Return Value

No error occurs if return value ≥ 0; if a negative value, please refer
to Other Functions for return code error information.

2.4.6

Audio Format Functions

Bits Per Sample

Sets or retrieves the number of bits per sample.

Syntax

C/C++

int Sdi_SetAudioBitsPerSample (UINT Number,

UINT Value)

int Sdi_GetAudioBitsPerSample (UINT Number,

UINT& Value)

C#

int SetAudioBitsPerSample (uint Number, uint

Value)

Advertising