Namespaces
Variants
Actions
Revision as of 08:04, 9 May 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CRingTonePlayer instance stops with KErrUnderflow error while playing a file (Known Issue)

Jump to: navigation, search

The VoIP Audio Service API (VAS) provides a ring tone player, CRingTonePlayer, which can be used to play back audio files locally as a ring tone. This stops when playing a file.

Article Metadata

Tested with
Devices(s): Tested on: Nokia E75, 5630

Compatibility
Platform(s): S60 3rd Edition, FP2
S60 5th Edition

Article
Keywords: CRingTonePlayer, VoIP Audio Services
Created: User:Kbwiki (30 Aug 2010)
Last edited: hamishwillee (09 May 2012)

Description

When an instance of CRingTonePlayer tries to play audio after being initialised, either using an open RFile handle or a path to a file, the player just generates a beep sound and stops with a KErrUnderflow (-10) error.

How to reproduce

The error can be reproduced using the VoIPTest (VoIP Audio Service API) example application which is available as part of the VAS API package. Steps to reproduce the error are given below:

  • Initialise and start the downlink stream.
  • Initialise the CRingTonePlayer using one of these methods:
    • Open( MRingToneObserver& aObserver, TPtr aFileName ), or
    • Open( MRingToneObserver& aObserver, RFile& aFileHandle )

Make sure a valid audio file is passed as a parameter

  • Call CRingTonePlayer::Play() to start playback.

Solution

No known solution.

112 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved