00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00017
00018 #import <Foundation/Foundation.h>
00019 #import "SndStreamClient.h"
00020
00050 @interface SndRecorder : SndStreamClient
00051 {
00052
00053 }
00054
00055
00056 + (SndRecorder *) defaultSndRecorder;
00057
00058
00059
00060
00061
00062 - (SndCapture *) recordSnd: (Snd *) soundToRecordInto
00063 withTimeOffset: whenToStartInSeconds
00064 beginAtIndex: playBegin
00065 endAtIndex: playEnd];
00066
00071 - (BOOL) startRecording;
00072
00088 - stopRecordingWait: (BOOL) bWait disconnectFromStream: (BOOL) bDisconnectFromStream;
00089
00090 @end
00091
00097 @protocol SndRecorderDelegate <SndStreamClientDelegate>
00098
00106 - didStartRecording: sender;
00107
00117 - didFinishRecording: sender;
00118
00119 @end