Symbian3/PDK/Source/GUID-96B8657D-FC07-5D5C-8ADE-3B2167A9229E.dita
changeset 5 f345bda72bc4
parent 1 25a17d01db0c
child 14 578be2adaf3e
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
     7     Nokia Corporation - initial contribution.
     7     Nokia Corporation - initial contribution.
     8 Contributors: 
     8 Contributors: 
     9 -->
     9 -->
    10 <!DOCTYPE task
    10 <!DOCTYPE task
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
    12 <task xml:lang="en" id="GUID-96B8657D-FC07-5D5C-8ADE-3B2167A9229E"><title>Pausing and Resuming Audio Record </title><shortdesc>The <codeph>Pause()</codeph> function stops recording audio, without stopping the buffer traffic. If the <codeph>Resume()</codeph> function is supported, you can then use it to continue recording. The buffer traffic continues because the Pause() function does not terminate the <apiname>MMMFAudioDataConsumer::BufferToBeEmptied(MMMFBufferSink *,CMMFBuffer
    12 <task id="GUID-96B8657D-FC07-5D5C-8ADE-3B2167A9229E" xml:lang="en"><title>Pausing
    13         *)</apiname>  <codeph>RecordData()</codeph> cycle. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody><steps id="GUID-77CE5F17-DDAA-5B0A-B56C-FEF3091BC504"><step id="GUID-CC7C9116-E829-5DA3-8500-CA69D894E525"><cmd/><info>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 audio record state. </info> </step> <step id="GUID-061CB8E0-EDC7-57D7-9BD7-7D35B7D29EBA"><cmd/><info>Call 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 to check that the <codeph>Resume()</codeph> function is supported. </info> <substeps id="GUID-DCFBAA7B-3013-5B26-BCA1-B637D8B3656B"><substep id="GUID-3571F82F-D1C9-5755-9A7C-256FD547F2C3"><cmd/><info>If the resume function is supported, 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 pause the audio record state. </info> </substep> <substep id="GUID-7FDE2976-64BA-5C6A-BCF0-95843D44FA4D"><cmd/><info>Otherwise you must use the shut down stop function. For more information about the shut down stop function, see <xref href="GUID-D67D6147-ECE1-576C-A64C-120F32AE2AA2.dita">Stopping Audio Record</xref>. </info> </substep> </substeps> </step> </steps> </taskbody><related-links><link href="GUID-769CD1E7-8545-5223-A195-43E72AAF5DDC.dita"><linktext>Starting Audio
    13 and Resuming Audio Record </title><shortdesc>The <codeph>Pause()</codeph> function stops recording audio, without
    14                 Record</linktext> </link> </related-links></task>
    14 stopping the buffer traffic. If the <codeph>Resume()</codeph> function is
       
    15 supported, you can then use it to continue recording. The buffer traffic continues
       
    16 because the Pause() function does not terminate the <codeph>MMMFAudioDataConsumer::BufferToBeEmptied(MMMFBufferSink
       
    17 *,CMMFBuffer         *)</codeph>  <codeph>RecordData()</codeph> cycle. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    18 <steps id="GUID-77CE5F17-DDAA-5B0A-B56C-FEF3091BC504">
       
    19 <step id="GUID-CC7C9116-E829-5DA3-8500-CA69D894E525"><cmd/>
       
    20 <info>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
       
    21 the audio record state. </info>
       
    22 </step>
       
    23 <step id="GUID-061CB8E0-EDC7-57D7-9BD7-7D35B7D29EBA"><cmd/>
       
    24 <info>Call 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
       
    25 to check that the <codeph>Resume()</codeph> function is supported. </info>
       
    26 
       
    27 <substeps id="GUID-DCFBAA7B-3013-5B26-BCA1-B637D8B3656B">
       
    28 <substep id="GUID-3571F82F-D1C9-5755-9A7C-256FD547F2C3"><cmd/>
       
    29 <info>If the resume function is supported, 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
       
    30 to pause the audio record state. </info>
       
    31 </substep>
       
    32 <substep id="GUID-7FDE2976-64BA-5C6A-BCF0-95843D44FA4D"><cmd/>
       
    33 <info>Otherwise you must use the shut down stop function. For more information
       
    34 about the shut down stop function, see <xref href="GUID-D67D6147-ECE1-576C-A64C-120F32AE2AA2.dita">Stopping
       
    35 Audio Record</xref>. </info>
       
    36 </substep>
       
    37 </substeps>
       
    38 </step>
       
    39 </steps>
       
    40 </taskbody><related-links>
       
    41 <link href="GUID-769CD1E7-8545-5223-A195-43E72AAF5DDC.dita"><linktext>Starting
       
    42 Audio                 Record</linktext></link>
       
    43 </related-links></task>