SoundInfo
From LIVECHAT Developer Zone Wiki
Used to specify sound effect.
typedef struct SoundInfo{
int cbSize;
LPCTSTR sound_name;
bool use_path;
bool sync;
bool loop;
} SoundInfo;
- Members
- cbSize
- size of the SoundInfo structure
- sound_name
- path or name of sound file
- use_path
- use sound_name as path to sound file
- sync
- play sound synchronous
- loop
- play in loop till SoundInfo with empty sound_name arrives
- Remarks
If you want to play the predefined application sound, use one of the following names:
#define SOUND_INCOMING_MESSAGE _T("Sound_IncomingMessage")
#define SOUND_CHAT_ESTABLISHED _T("Sound_ChatEstablished")
#define SOUND_INCOMING_CHAT _T("Sound_IncomingChat")
#define SOUND_NEW_WEBCLIENT _T("Sound_NewWebClient")
#define SOUND_LOGGING_WEBCLIENT _T("Sound_LoggingWebClient")
#define SOUND_INCOMING_CALL _T("Sound_IncomingCall")
#define SOUND_CALLING _T("Sound_Calling")
#define SOUND_DIAL _T("Sound_Dial")
