Video SDK for iOS API Reference
Loading...
Searching...
No Matches
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, nullable) char *buffer;
21
25@property (nonatomic, assign) NSInteger bufferLen;
26
30@property (nonatomic, assign) NSInteger sampleRate;
31
35@property (nonatomic, assign) NSInteger channelNum;
36
40@property(nonatomic, strong, nullable) NSDate *timeStamp;
41
46- (BOOL)canAddRef;
47
52- (BOOL)addRef;
53
58- (NSInteger)releaseRef;
59
60@end
61
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.
NSDate * timeStamp
TimeStamp of audio data.
NSInteger releaseRef()
Decrease reference count by 1.