×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
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
S60 5th Edition
S60 3rd Edition FP2
Article
Keywords: CRingTonePlayer, VoIP Audio Services
Created: User:Kbwiki (30 Aug 2010)
Last edited: hamishwillee (14 Jun 2013)

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.

This page was last modified on 14 June 2013, at 08:52.
104 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×