For the Audio Input (AI) board devices, there is a new class name, DEV_CLASS_AUDIO_IN, that is used with the sr_getboardcnt( ) function to return the number of AI devices in the system. So, if you issue sr_getboardcnt(DEV_CLASS_AUDIO_IN, &BrdCt), BrdCt is filled in with the number of AI board devices in the system.
For example:
int BrdCt = 0; sr_getboardcnt(DEV_CLASS_AUDIO_IN, &BrdCt);
The device name for AI devices is aiBn, where n is the board number starting at 1. Note that there are no channel devices on AI devices, only board devices.
Click here to contact Dialogic Customer Engineering
Copyright 2002, Intel Corporation