Discussion Board

Results 1 to 3 of 3

Thread: Volume control

  1. #1
    Registered User kaka631's Avatar
    Join Date
    Mar 2003
    Posts
    2
    Do you know whether it is possible to adjust the sound volume from within an application on 7650? CMdaAudioPlayerUtility API should support volume control, but calling SetVolume() seems to have no effect. Codes are the followings

    //Create a sample player and load a sample from a file

    CMdaAudioPlayerUtility* sampleplayer =
    CMdaAudioPlayerUtility:: NewFilePlayerL(KSampleFilename, *this);

    // Change the volume

    sampleplayer->SetVolume(volume_value);

    //Play the sample
    sampleplayer->Play();

    What problem is it? Your help would be greatly appreciated !

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    Hi

    at least with CMdaAudioRecorderUtility the setvolume works fine. Maybe you should try it.

    yucca

  3. #3
    Registered User hakim_333's Avatar
    Join Date
    Jul 2005
    Posts
    5
    Take care that the range of volume is :

    0-9 ==> in real device


    0-65536 ==> in emulator

    ok .....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
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