Previous PageTable Of Contents../index.htmlIndexNext Page

ai_getxmitslot( )

Description | Example | See Also

Name:

int ai_getxmitslot(devh, sc_tsinfo)

Inputs:

int devh

  specifies the valid device handle obtained when an audio input device is opened

 

SC_TSINFO* sc_tsinfo

  provides a pointer to the SCbus time slot information structure

Returns:

0 on success
-1 on failure

Includes:

dxxxlib.h

Category:

Audio Input

Mode:

synchronous

Top Of PageDescription

The ai_getxmitslot( ) function provides the SCbus time slot number of the audio input transmit channel. The SCbus timeslot information is contained in an SC_TSINFO structure.

Parameter

Description

devh

Specifies the valid device handle obtained when the audio input device is opened with the ai_open( ) function.

sc_tsinfo

Specifies a pointer to the SCbus timeslot information structure.

The sc_numts member of the SC_TSINFO structure must be initialized with the number of SCbus time slots requested (1). The sc_tsarrayp member of the SC_TSINFO structure must be initialized with a valid pointer to a long variable. Upon successful return from the function, the long variable will contain the number of the SCbus time slot on which the audio input device transmits.

Top Of PageExample

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002