Copyright © 2006-2019 MultiMedia Soft

RecordingDuration event

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

Differently from the RecordingDurationAfterSwitch event, this event doesn't keep count of eventual calls to the SwitchOutputFile and SwitchOutputFileEx methods.

 

It's important to note that, in case the recording session should have been started in append, mix, overwrite or insert mode (through the SetRecordingMode method), this event would only report the duration of the current recording session and not the overall duration that would result after finalizing the recording session with the previous one. If you want to know the current position of the recording session, which would take count of a previous recording session, the RecordingPosition event would be the way to go.

 

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

 

 

Syntax

 

[Visual Basic]

RecordingDuration (

ByVal nDuration as long

)


 

[C++]

void RecordingDuration (

long nDuration

);


 

 

Parameter

Description

 

 

nDuration

Number representing the duration, expressed in milliseconds, of the current recording session.

This value is limited to a maximum of 32 bits; for larger coverage its recommended using the RecordingDurationDouble event.