public IRecorder Recorder;
To record a session:
- Set the Recorder.Filename property with the path and name of the session file to be used. No extension is needed; the recorder will generate two files, with extensions idx and dat.
- Call Recorder.Play, passing a track name. This name will allow to play different recordings in the same session.
To stop recording:
- Call Recorder.Stop.
To play a recorded session:
- Set the Filename property with the path and name of the session file to be played (the file with idx extension).
- Call Play with the range of entries to play.
To play an entire session, pass 0 and the Count property.
To play only a specific track, pass the Position of track to reproduce as From, and the Position of next track as To. For the last track, the To parameter must be the Count property of recorder.