CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_INPUT_SOURCECHANGE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *const pSource, ISCCauses const operation)

Input source change notification.

Called if a new source is connected, or if a source is silent (the input does not receive message or internal system message for 2 seconds). This can be used to prepare voice resource on new source, shut down sound generator, or reset some functionality in case of loosing source.

Parameters
[in]hInputHandle to the notified input.
[in]dwInputUserDataThe user data associated to the input handle during its creation.
[in]pSourcePointer to the lost source.
[in]operationThe cause. see ISCCauses enumeration in CLC_Enums.h
Remarks
This notification is activated by using Input_RegisterNotificationHandler.