CHAILink SDK
Version 1.3
|
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.
[in] | hInput | Handle to the notified input. |
[in] | dwInputUserData | The user data associated to the input handle during its creation. |
[in] | pSource | Pointer to the lost source. |
[in] | operation | The cause. see ISCCauses enumeration in CLC_Enums.h |