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 #import "SndStreamClient.h"
00020
00021 @class SndAudioBuffer;
00022 @class SndAudioProcessorRecorder;
00023
00059 @interface SndStreamRecorder : SndStreamClient
00060 {
00062 SndAudioProcessorRecorder *recorder;
00063 }
00064
00069 - init;
00070
00074 - (NSString*) description;
00075
00079 - (BOOL) startRecording;
00080
00086 - (BOOL) startRecordingToFile: (NSString *) filename;
00087
00094 - stopRecording;
00095
00110 - stopRecordingWait: (BOOL) bWait disconnectFromStream: (BOOL) bDisconnectFromStream;
00111
00112 @end
00113
00117 @protocol SndStreamRecorderDelegate <SndStreamClientDelegate>
00118
00127 - didStartRecording: sender;
00128
00140 - didFinishRecording: sender;
00141
00142 @end
00143
00145 #endif