Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User coralbits's Avatar
    Join Date
    Mar 2011
    Posts
    3
    Hi,

    Im developing a Qt 4.7.2 / QtMobility 1.1.1 app for symbian, and I'm showing a video. Anyway the volume is too low.

    I tried with

    Code:
    QMediaPlayer *player=new QMediaPlayer(this);
    ...
    player->setVolume(100);
    but did not help.

    Any idea?

    Thanks.

  2. #2
    Regular Contributor teemup's Avatar
    Join Date
    May 2010
    Posts
    362
    Most likely there is no way to alter this. There might be some low level solution but I would not suggest such to you.

    Basically the volume level is alterable by the user, so overriding that is not suggested.

  3. #3
    Registered User coralbits's Avatar
    Join Date
    Mar 2011
    Posts
    3
    When I mean low volume i mean very low. With the standard player they sound quite louder.

    Actaully I tried with several values for this player->setVolume and no there is change at all.

    Do I have to use other methods?

    Thanks.

  4. #4
    Nokia Developer Moderator truf's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    1,355
    SetVolume() should be called after media file opening, not before that. If you put SetVolume() between m_mediaObject->setCurrentSource() and m_mediaObject->play(); - it will work.

Similar Threads

  1. How can I speed up my application ?
    By sunitha.m13 in forum Symbian C++
    Replies: 2
    Last Post: 2009-10-30, 12:37
  2. How to indentify Volume up & down key presses
    By jupitar in forum Symbian C++
    Replies: 3
    Last Post: 2008-07-14, 11:19
  3. Replies: 15
    Last Post: 2008-06-16, 05:24
  4. To handle volume keys in my application
    By ppreethijain in forum Mobile Java General
    Replies: 3
    Last Post: 2007-02-28, 02:36

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