Copyright © 2006-2019 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.

 

 

Syntax

 

[Visual Basic]

RecordingSize (

ByVal nDataSize as long

)


 

[C++]

void RecordingSize (

long nDataSize

);


 

 

Parameter

Description

 

 

nDataSize

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

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