Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009

    setting volume level in cmdaaudiotone utility

    I wish to know the volume level integer value set in the setvolume function (in Cmdaaudiotone utilty class) corresponds to what value in decibels(db).
    kindly give a reply .
    Vijayan Nair

  2. #2
    Super Contributor
    Join Date
    May 2008
    Helsinki, Finland

    Re: setting volume level in cmdaaudiotone utility

    Hi vijayannair,

    Well I am not sure about direct volumelevel to decibel conversion...
    Maybe one idea to start with is that you could find out the max volume per device, then divide that with the
    scale to get steps. Then you would start to know something about the specific device, because (if you did mean dBm)
    is hardware dependent...

    Maybe you could tell me more about what kind of use case you had in mind? To maybe display dB instead of volume
    scale or? About dB http://en.wikipedia.org/wiki/Decibel#Examples

    Best Regards,

    virtual TInt MaxVolume();
    Returns an integer representing the maximum volume.
    This is the maximum value which can be passed to CMdaAudioPlayerUtility::SetVolume(). This value is platform independent, but is always greater than or equal to one.
    Return value
    The maximum volume setting.
    Panic codes
    is raised when the audio player utility is not initialised.

    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330

Similar Threads

  1. Python 1.4.5 Text-to-Speech volume level
    By selimsolmaz in forum Symbian
    Replies: 14
    Last Post: 2010-11-10, 21:01
  2. [Moved] Problem in displaying a Volume Setting Page
    By amey_symbian in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-08-04, 10:04
  3. how to get volume setting..
    By abhi560 in forum Symbian
    Replies: 3
    Last Post: 2009-06-25, 09:39
  4. Getting Volume level of the phone
    By ianstrain in forum Mobile Java Media (Graphics & Sounds)
    Replies: 11
    Last Post: 2006-05-25, 09:34
  5. How to set initial volume level for the emulator?
    By The.French.DJ in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-07-31, 15:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts