Copyright © 2006-2016 MultiMedia Soft

RecordingSize event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs, during a recording session, to notify the amount of recorded PCM bytes.

 

This event is useful when recording PCM data in memory or with the purpose of saving recorded data into a destination WAV file.

 

Note that, when recording and encoding directly into MP3, OGG Vorbis or WMA formats, the reported size doesn't match the effective amount of memory occupied by the recording system because, in this case, recorded data are encoded directly into the destination file and immediately discarded from memory.

 

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 RecordingSize As RecordingSizeEventHandler


 

[C#]

public event RecordingSizeEventHandler RecordingSize;


 

[C++]

public: __event RecordingSizeEventHandler* RecordingSize;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nDataSize

Number representing the amount of memory bytes occupied by recorded PCM data.