Retrieving Audio Record Samples

This tutorial describes how to retrieve the number of samples used while recording audio.


Call the CMMFDevSound::SamplesRecorded() query function to find out the number of samples that have been recorded. This returns the number of samples recorded since the last CMMFDevSound::RecordInitL() call. Note: The CMMFDevSound::SamplesRecorded() query returns a zero value until the start of the recording cycle. The count of samples recorded is returned in the recording and paused states.

Related concepts