Namespaces
Variants
Actions

Volume level range in Nokia N8

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia N8

Compatibility
Platform(s): Symbian^3

Article
Keywords: MaxVolume
Created: User:Kbwiki (17 Jun 2010)
Last edited: hamishwillee (15 Jun 2012)

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 15 June 2012, at 04:11.
149 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