Copyright © 2006-2016 MultiMedia Soft

RecordingPosition event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs, during a recording session, to notify the actual recording position in milliseconds.

 

In case the recording session should have been started in append, mix, overwrite or insert mode (through the SetRecordingMode method), the position reported by this event would keep count of the previous recording session as well; if you want to know the duration of the current recording session only, the RecordingDuration event would be the way to go.

 

For further details see the How to perform a recording session section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event RecordingPosition As RecordingPositionEventHandler


 

[C#]

public event RecordingPositionEventHandler RecordingPosition;


 

[C++]

public: __event RecordingPositionEventHandler* RecordingPosition;


 

 

Event Data

 

The event handler receives an argument of type RecordingPositionEventArgs having the following parameters:

 

Parameters

Description

 

 

nPosition

Number representing the position, expressed in milliseconds, of the current recording session