Inherits IDispatch.
IAudioStream represents an audio data stream object for integration between a radio gateway and third-party apps.
§ Start()
HRESULT Start |
( |
[in] int |
iSampleRate | ) |
|
Audio stream is starting. Wave format is always mono 16 bits, sample rate may vary. In the case of playing message audio through a third party app, it's called when an incoming message from a contact begins. In the case of sending audio message data coming from a third party app to a contact, it's called when an outgoing message to a contact begins.
- Parameters
-
iSampleRate | Audio sample rate. |
§ Stop()
Audio stream is stopping. In the case of playing message audio through a third party app, it's called when an incoming message from a contact is over. In the case of sending audio message data coming from a third party app to a contact, it's called when an outgoing message to a contact is over.
§ WriteSamples()
HRESULT WriteSamples |
( |
[in] VARIANT |
vData | ) |
|
Set playback position.
- Parameters
-
vData | SAFEARRAY(short) or IStream holding audio data chunk. |
§ NativeSampleRate
Write audio data.
- Parameters
-
piSampleRate | Sample rate used by Zello app to send/receive audio |