The audio raw data handler interface.
More...
#include <zoom_sdk_raw_data_def.h>
|
| virtual bool | CanAddRef ()=0 |
| | Determine if the reference count can be increased.
|
| |
| virtual bool | AddRef ()=0 |
| | Add one to the reference count.
|
| |
| virtual int | Release ()=0 |
| | Subtract one from the reference count.
|
| |
| virtual char * | GetBuffer ()=0 |
| | Get the audio raw data.
|
| |
| virtual unsigned int | GetBufferLen ()=0 |
| | Get the buffer length of the audio raw data.
|
| |
| virtual unsigned int | GetSampleRate ()=0 |
| | Get the sample rate of the audio raw data.
|
| |
| virtual unsigned int | GetChannelNum ()=0 |
| | Get the channel number of the audio raw data.
|
| |
| virtual unsigned long long | GetTimeStamp ()=0 |
| | Get the timestamp of the raw data.
|
| |
| virtual | ~AudioRawData () |
| |
The audio raw data handler interface.
Definition at line 10 of file zoom_sdk_raw_data_def.h.
◆ ~AudioRawData()
| virtual AudioRawData::~AudioRawData |
( |
| ) |
|
|
inlinevirtual |
◆ 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.
◆ GetTimeStamp()
| virtual unsigned long long AudioRawData::GetTimeStamp |
( |
| ) |
|
|
pure virtual |
Get the timestamp of the raw data.
- Returns
- Millisecond timestamp.
◆ 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.