Symbian3/SDK/Source/GUID-DD8BFFF1-15C7-59B0-A107-C5CC90DBF4CC.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?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 id="GUID-DD8BFFF1-15C7-59B0-A107-C5CC90DBF4CC" xml:lang="en"><title>Pausing
and Resuming a Tone </title><shortdesc>The <apiname>CMMFDevSound::Pause()</apiname> function pauses the
play tone state. If the <apiname>CMMFDevSound::Resume()</apiname> function
is supported, you can then use it to continue playing.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
<context><p>You can pause and resume tones played by calling any of the following
functions:</p><ul>
<li><p><xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-0849016F-D457-3521-A53A-85023D8561B8"><apiname>CMMFDevSound::PlayToneL(TInt,const TTimeIntervalMicroSeconds
&amp;)</apiname></xref> plays a single tone. </p></li>
<li><p><xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-D2C197B2-BB55-3B46-8F4D-FEDEE846B166"><apiname>CMMFDevSound::PlayDualToneL(TInt,TInt,const TTimeIntervalMicroSeconds
&amp;)</apiname></xref> plays a dual tone. </p></li>
<li><p><xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-3E9E0095-DC9A-3ABF-90E9-1B2ED469BBC4"><apiname>CMMFDevSound::PlayDTMFStringL(const TDesC &amp;)</apiname></xref> plays
a DTMF (Dual and Multi-Frequency) tone </p></li>
<li><p><xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-2B48CD01-DBD9-3669-8F79-0812FA03B0D3"><apiname>CMMFDevSound::PlayToneSequenceL(const TDesC8 &amp;)</apiname></xref> plays
a sequence of tones. </p></li>
</ul></context>
<steps id="GUID-2D5F15E0-975D-5CF3-BB5D-60F108B0B48E">
<step id="GUID-8F0EEDE1-9C9C-5C53-A359-33505C11D51C"><cmd>Check that the <codeph>Resume()</codeph> function
is supported using the <xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-FF81EF26-C315-395C-99EC-CE54B4FFCAA4"><apiname>CMMFDevSound::IsResumeSupported()</apiname></xref> function.</cmd>
</step>
<step id="GUID-73852361-98B0-533C-AB9C-27D946707C6B"><cmd>If the resume function
is supported, call the <xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-D9C071E1-9F7D-39C5-8B6E-34321A46D3A9"><apiname>CMMFDevSound::Pause()</apiname></xref> function to
pause the tone.</cmd>
</step>
<step id="GUID-8917B5C6-0176-573F-9A3E-64E89AB3632A"><cmd>Call the <xref href="GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD.dita#GUID-B3E9B015-1413-35A6-A316-D1C01C1001AD/GUID-263CCA90-A3AA-31A0-A62B-795E5F988A17"><apiname>CMMFDevSound::Resume()</apiname></xref> function
to continue playing the tone. </cmd>
</step>
</steps>
</taskbody></task>