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.
The event handler receives an argument of type RecordingSizeEventArgs having the following parameters: