Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Volume level range in Nokia N8

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Tested with
Devices(s): Nokia N8
Compatibility
Platform(s): Symbian^3
Symbian^3
Article
Keywords: MaxVolume
Created: User:Kbwiki (17 Jun 2010)
Last edited: lpvalente (27 Jun 2014)

Description

In previous S60 device models, the range of volume setting for audio playback has typically been from 0 (mute) to 10 (max. volume).

In Nokia N8, the range is [0..10000]. Applications that rely on hard-coded values for volume will experience problems, such as playback volume being too low.

Solution

Do not use hard-coded values for volume or make any assumptions on the maximum volume. Always use the MaxVolume() and MaxGain() functions when calculating the actual playback volume passed to the audio device.

See also

Documentation for the audio playback and recording classes:

This page was last modified on 27 June 2014, at 21:33.
80 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.

×