Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKAudioRawData Class Reference

A Class contains the information of audio raw data. More...

#include <ZoomVideoSDKAudioRawData.h>

Inherits NSObject.

Instance Methods

(BOOL) - canAddRef
 Determine if the reference count for the interface pointer can be increased.
 
(BOOL) - addRef
 Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be released.
 
(NSInteger) - releaseRef
 Decrease reference count by 1.
 

Properties

char * buffer
 Pointer of audio buffer data.
 
NSInteger bufferLen
 Audio buffer data length.
 
NSInteger sampleRate
 Audio sampling rate.
 
NSInteger channelNum
 Number of audio channels.
 

Detailed Description

A Class contains the information of audio raw data.

Definition at line 15 of file ZoomVideoSDKAudioRawData.h.

Method Documentation

◆ addRef

- (BOOL) addRef

Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be released.

Warning
If you addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef;

◆ canAddRef

- (BOOL) canAddRef

Determine if the reference count for the interface pointer can be increased.

Warning
If you call addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef to release it.

◆ releaseRef

- (NSInteger) releaseRef

Decrease reference count by 1.

Warning
If you addRef, the SDK will try to hold the raw data buffer until the reference becomes 0. When you finish using the raw data buffer, you must call releaseRef;

Property Documentation

◆ buffer

- (char*) buffer
readwritenonatomicassign

Pointer of audio buffer data.

Definition at line 20 of file ZoomVideoSDKAudioRawData.h.

◆ bufferLen

- (NSInteger) bufferLen
readwritenonatomicassign

Audio buffer data length.

Definition at line 25 of file ZoomVideoSDKAudioRawData.h.

◆ channelNum

- (NSInteger) channelNum
readwritenonatomicassign

Number of audio channels.

Definition at line 35 of file ZoomVideoSDKAudioRawData.h.

◆ sampleRate

- (NSInteger) sampleRate
readwritenonatomicassign

Audio sampling rate.

Definition at line 30 of file ZoomVideoSDKAudioRawData.h.