Symbian3/PDK/Source/GUID-D0CD890F-36DB-5265-B2C1-8D632EAF736B.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 11:42:04 +0100
changeset 4 4816d766a08a
parent 3 46218c8b8afa
child 5 f345bda72bc4
permissions -rw-r--r--
Week 12 contribution of SDK documentation_content. See release notes for details. Fixes Bug 1892, Bug 1522, Bug 1520, Bug 394, Bug 1319, Bug 344, Bug 1897

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE task
  PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task xml:lang="en" id="GUID-D0CD890F-36DB-5265-B2C1-8D632EAF736B"><title>Retrieving Audio Record Samples </title><shortdesc>This tutorial describes how to retrieve the number of samples used while recording audio. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody><steps-unordered id="GUID-02BD7F5D-4821-586E-AEFF-3183339B55A7"><step id="GUID-8021BB75-B2D8-5F98-829B-BAEA79AB5B15"><cmd/><info>Call the <xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-84ABD4C2-95A3-3830-9043-7E066C1F26A0"><apiname>CMMFDevSound::SamplesRecorded()</apiname></xref> query function to find out the number of samples that have been recorded. </info> <info>This returns the number of samples recorded since the last <xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-ECC978D1-B45A-35E4-9A40-F285152023FE"><apiname>CMMFDevSound::RecordInitL()</apiname></xref> call. </info> <info> Note: The <codeph>CMMFDevSound::SamplesRecorded()</codeph> 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. </info> </step> </steps-unordered> </taskbody><related-links><link href="GUID-769CD1E7-8545-5223-A195-43E72AAF5DDC.dita"><linktext>Starting Audio
                Record</linktext> </link> </related-links></task>