|
(BOOL) | - canAddRef |
| Get if this object can add ref. More...
|
|
(BOOL) | - addRef |
| Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends. More...
|
|
(int) | - releaseData |
| Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object. More...
|
|
(char *) | - getBuffer |
| Get the buffer data. More...
|
|
(unsigned int) | - getBufferLen |
| Get the buffer length of this data. More...
|
|
(unsigned int) | - getSampleRate |
| Get the sample rate of this data. More...
|
|
(unsigned int) | - getChannelNum |
| Get the channel number of this data. More...
|
|
◆ addRef
Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends.
- Returns
- If the function succeeds, it will return YES. Otherwise NO.
◆ canAddRef
Get if this object can add ref.
- Returns
- If can add ref, it will return YES. Otherwise NO.
◆ getBuffer
Get the buffer data.
- Returns
- If the function succeeds, it will return the buffer data.
◆ getBufferLen
- (unsigned int) getBufferLen |
|
|
|
Get the buffer length of this data.
- Returns
- If the function succeeds, it will return the buffer length of this data.
◆ getChannelNum
- (unsigned int) getChannelNum |
|
|
|
Get the channel number of this data.
- Returns
- If the function succeeds, it will return the channel number of this data.
◆ getSampleRate
- (unsigned int) getSampleRate |
|
|
|
Get the sample rate of this data.
- Returns
- If the function succeeds, it will return the sample rate of this data.
◆ releaseData
Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object.
- Returns
- If the function succeeds, it will return reference count of this object.
The documentation for this class was generated from the following file: