Ejemplo n.º 1
0
 private void commitSegment()
 {
     recMan.StopRecording();
     recMan.SaveLastRecording(CurSegment.Filename);
     RecordedSegments.Add(CurSegment);
     segmentId++;
     CurSegment = null;
 }
Ejemplo n.º 2
0
 private void commitSegment() {
     if (curSegment == null)
         return;
     recMan.StopRecording();
     recMan.SaveLastRecording(curSegment.Filename);
     curTime += recMan.LastRecordingLength;
     curSegment.TimeOut = curTime;
     xml.Segments.Add(curSegment);
     startSegment();
 }