diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-14BAAB7C-35CD-5A43-B362-79F88C7712DE.dita --- a/Symbian3/PDK/Source/GUID-14BAAB7C-35CD-5A43-B362-79F88C7712DE.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-14BAAB7C-35CD-5A43-B362-79F88C7712DE.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,17 +1,17 @@ - - - - - -Playing TonesThis document describes how to play various types of tones and how to pause and resume a tone.

Before you start playing a tone, you must:

  1. Construct a new instance of DevSound using the CMMFDevSound::NewL() function.

  2. Initialize DevSound using the CMMFDevSound::InitializeL() function.

    This function requires that you specify the DevSound observer class to handle callbacks. Once initialization has completed, successfully or otherwise, DevSound calls the MDevSoundObserver::InitializeComplete() function.

  3. Configure DevSound according to the tone you select to play.

    Note: The configuration differs according to the tone played.

The tone is a simple ring tone. You can play tones by calling the following functions:

  • CMMFDevSound::PlayToneL(TInt,const - TTimeIntervalMicroSeconds &) plays a single tone.

  • CMMFDevSound::PlayDualToneL(TInt,TInt,const - TTimeIntervalMicroSeconds &) plays a dual tone.

  • CMMFDevSound::PlayDTMFStringL(const TDesC &) plays a - DTMF (Dual and Multi-Frequency) tone.

  • CMMFDevSound::PlayToneSequenceL(const TDesC8 - &) plays a sequence of tones.

Playing a Tone Playing a DTMF Tone Playing a Tone Sequence Playing a Fixed Tone Sequence Pausing and Resuming a Tone
Playing Audio Tutorial Recording Audio + + + + + +Playing TonesThis document describes how to play various types of tones and how to pause and resume a tone.

Before you start playing a tone, you must:

  1. Construct a new instance of DevSound using the CMMFDevSound::NewL() function.

  2. Initialize DevSound using the CMMFDevSound::InitializeL() function.

    This function requires that you specify the DevSound observer class to handle callbacks. Once initialization has completed, successfully or otherwise, DevSound calls the MDevSoundObserver::InitializeComplete() function.

  3. Configure DevSound according to the tone you select to play.

    Note: The configuration differs according to the tone played.

The tone is a simple ring tone. You can play tones by calling the following functions:

  • CMMFDevSound::PlayToneL(TInt,const + TTimeIntervalMicroSeconds &) plays a single tone.

  • CMMFDevSound::PlayDualToneL(TInt,TInt,const + TTimeIntervalMicroSeconds &) plays a dual tone.

  • CMMFDevSound::PlayDTMFStringL(const TDesC &) plays a + DTMF (Dual and Multi-Frequency) tone.

  • CMMFDevSound::PlayToneSequenceL(const TDesC8 + &) plays a sequence of tones.

Playing a Tone Playing a DTMF Tone Playing a Tone Sequence Playing a Fixed Tone Sequence Pausing and Resuming a Tone
Playing Audio Tutorial Recording Audio Tutorial
\ No newline at end of file