Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKAudioRawData.h
Go to the documentation of this file.
1//
2// ZoomVideoSDKAudioRawData.h
3// ZoomVideoSDK
4//
5// Created by Zoom Video Communications on 2019/5/16.
6// Copyright © Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
15@interface ZoomVideoSDKAudioRawData : NSObject
16
20@property (nonatomic, assign) char *buffer;
21
25@property (nonatomic, assign) NSInteger bufferLen;
26
30@property (nonatomic, assign) NSInteger sampleRate;
31
35@property (nonatomic, assign) NSInteger channelNum;
36
41- (BOOL)canAddRef;
42
47- (BOOL)addRef;
48
53- (NSInteger)releaseRef;
54
55@end
56
A Class contains the information of audio raw data.
NSInteger sampleRate
Audio sampling rate.
BOOL addRef()
Increase reference count by 1. Adding a reference will ensure that the raw data buffer will not be re...
NSInteger bufferLen
Audio buffer data length.
NSInteger channelNum
Number of audio channels.
BOOL canAddRef()
Determine if the reference count for the interface pointer can be increased.
char * buffer
Pointer of audio buffer data.
NSInteger releaseRef()
Decrease reference count by 1.