ZelloWork Client SDK  2.51
Public Member Functions | Properties | List of all members
IAudioMessagePlayback Interface Reference

Inherits IDispatch.

Public Member Functions

HRESULT MessageInBegin ([in] IMessage *pMessage, [out, retval] IAudioStream **pStream)
 

Properties

int NativeSampleRate [get]
 

Detailed Description

IAudioMessagePlayback interface allows a client to play incoming messages through a third-party app.

Member Function Documentation

§ MessageInBegin()

HRESULT MessageInBegin ( [in] IMessage pMessage,
[out, retval] IAudioStream **  pStream 
)

Fired when object starts receiving a message and needs to play it though a thirt-party app.

Parameters
pMessageMessage object. Can be used to get message ID, sender, author. Can't be deleted or marked as read or unread.
pStreamAn object where the client will send the audio data.

Property Documentation

§ NativeSampleRate

int NativeSampleRate
getproperty

Get audio sample rate that is preferred by a third party app. Set value to 0 if resampling is not required. In this case the received audio streams may have different sample rates

Parameters
piSampleRateReturn value.