ZOOM Windows SDK  5.2.42037.1112
Public Member Functions | List of all members
AudioRawData Class Referenceabstract

The audio raw data handler interface. More...

#include <zoom_sdk_raw_data_def.h>

Public Member Functions

virtual bool CanAddRef ()=0
 Determine if the reference count can be increased. More...
 
virtual bool AddRef ()=0
 Add one to the reference count. More...
 
virtual int Release ()=0
 Subtract one from the reference count. More...
 
virtual char * GetBuffer ()=0
 Get the audio raw data. More...
 
virtual unsigned int GetBufferLen ()=0
 Get the buffer length of the audio raw data. More...
 
virtual unsigned int GetSampleRate ()=0
 Get the sample rate of the audio raw data. More...
 
virtual unsigned int GetChannelNum ()=0
 Get the channel number of the audio raw data. More...
 

Detailed Description

The audio raw data handler interface.

Member Function Documentation

◆ AddRef()

virtual bool AudioRawData::AddRef ( )
pure virtual

Add one to the reference count.

Returns
If the function succeeds, the return value is TRUE.

◆ CanAddRef()

virtual bool AudioRawData::CanAddRef ( )
pure virtual

Determine if the reference count can be increased.

Returns
TRUE indicates to the reference count can be increased.

◆ GetBuffer()

virtual char* AudioRawData::GetBuffer ( )
pure virtual

Get the audio raw data.

Returns
A pointer to the audio raw data.

◆ GetBufferLen()

virtual unsigned int AudioRawData::GetBufferLen ( )
pure virtual

Get the buffer length of the audio raw data.

Returns
The length of the audio raw data.

◆ GetChannelNum()

virtual unsigned int AudioRawData::GetChannelNum ( )
pure virtual

Get the channel number of the audio raw data.

Returns
The channel number of the audio raw data.

◆ GetSampleRate()

virtual unsigned int AudioRawData::GetSampleRate ( )
pure virtual

Get the sample rate of the audio raw data.

Returns
The sample rate of the audio raw data.

◆ Release()

virtual int AudioRawData::Release ( )
pure virtual

Subtract one from the reference count.

Returns
The current reference count. If the currrent reference count is 0, the SDK will delete this object instance.

The documentation for this class was generated from the following file: