Retrieving Audio Play Samples

This document describes how to retrieve the number of samples used while playing audio.

To find out the number of samples that have been played so far, use the CMMFDevSound::SamplesPlayed() query method. This returns the number of samples played since the last CMMFDevSound::PlayInitL() call. Note: The CMMFDevSound::SamplesPlayed() query returns a zero value until the start of the play cycle. The count of samples played is returned in the playing and paused states.
Related concepts
Starting Audio Play