×

Discussion Board

Results 1 to 3 of 3

Thread: Volume control

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    Volume control

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    RE: Volume control

    Hi

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

    yucca

  3. #3
    Registered User
    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
  •  
×