00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00014
00015 #ifndef __SNDSTREAMRECORDER_H__
00016 #define __SNDSTREAMRECORDER_H__
00017
00018 #import <Foundation/Foundation.h>
00019
00020 #import "SndStreamClient.h"
00021 @class SndAudioBuffer;
00022 @class SndAudioProcessorRecorder;
00023
00059 @interface SndStreamRecorder : SndStreamClient
00060 {
00062 SndAudioProcessorRecorder *recorder;
00063 }
00064
00069 - init;
00070
00075 - (NSString *) description;
00076
00081 - (BOOL) startRecording;
00082
00088 - (BOOL) startRecordingToFile: (NSString*) filename;
00089
00095 - stopRecording;
00096
00112 - stopRecordingWait: (BOOL) bWait disconnectFromStream: (BOOL) bDisconnectFromStream;
00113
00114 @end
00115
00120 @protocol SndStreamRecorderDelegate <SndStreamClientDelegate>
00121
00129 - didStartRecording: sender;
00130
00140 - didFinishRecording: sender;
00141
00142 @end
00143
00145
00146
00147 #endif