×
Namespaces

Variants
Actions

Volume level range in Nokia N8

From Nokia Developer 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 (28 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 28 June 2014, at 00:33.
114 page views in the last 30 days.
×