cn.tee3.avd_SDK-Objectc  2.1.0
AVDFakeAudioCapturer.h
浏览该文件的文档.
1 //
2 // AVDFakeAudioCapturer.h
3 // avd_sdk
4 //
5 // Created by skin on 15-7-21.
6 // Copyright (c) 2015年 t3ee. All rights reserved.
7 //
8 
9 #ifndef avd_sdk_AVDFakeAudioCapturer_h
10 #define avd_sdk_AVDFakeAudioCapturer_h
11 
12 #import "AVDCommon.h"
13 
14 
20 @interface AVDFakeAudioCapturer : NSObject
21 
29 + (AVDResult) destory;
30 
34 - (BOOL) isRunning;
35 
40 - (AVDResult) enable:(BOOL)isEnable;
41 
53 - (AVDResult) inputCapturedFrame:(NSData*)sample sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels pts:(NSInteger)pts;
54 
55 
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 // Disallow init and don't add to documentation
58 - (id)init __attribute__((
59  unavailable("init is not a supported initializer for this class.")));
60 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
61 
62 @end
63 
64 #endif
NSInteger AVDResult
Definition: AVDCommon.h:14
AVDFakeAudioCapturer * instance()
获取一个音频采集器对象
(unavailable("init is not a supported initializer for this class." __attribute__()
音频流导入接口.
Definition: AVDFakeAudioCapturer.h:20
初始状态
Definition: AVDRoomInfo.h:37
BOOL isRunning()
判断Capturer是否正在运行
AVDResult destory()
释放音频采集器对象, 空操作,此对象的生命期管理转到内部控制