×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jan 2011
    Posts
    122

    what to use to play sound and control its volume for Symbian^3?

    I just want to play sound when a button is clicked.

    I was able to make it work using QSound, but it's too loud when played. I think it's set to its max volume. Then I read from a thread that it's not possible to control QSound's volume. Some suggested to use Phonon, someone said forget about Phonon.

    I am hoping someone could lead me to something that I can use to play a simple button click sound and be able to control its volume.

    I'm targeting Symbian^3(N8).

    Thanks in advance!
    Last edited by vilmavaliente; 2011-03-03 at 13:09.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: what to use to play sound and control its volume for Symbian^3?

    Edit the sound file to reduce its volume?

  3. #3
    Regular Contributor
    Join Date
    Jan 2011
    Posts
    122

    Re: what to use to play sound and control its volume for Symbian^3?

    I was hoping I can add a feature that controls the volume but if that's about it, then ill just edit the sound file's volume. I guess mute and unmute will already be ok in this case.

    Thanks again.
    Last edited by vilmavaliente; 2011-03-23 at 01:26.

  4. #4
    Regular Contributor
    Join Date
    Jan 2011
    Posts
    122

    Re: what to use to play sound and control its volume for Symbian^3?

    I noticed when I fast-click the button which has a QSound playing a button click sound, it has a delay. It's not playing as fast as the clicking. The sound clip only lasts a second or two.

    I declared it as:
    QSound *click = new QSound("click.wav");

    ::button_clicked()
    {
    click->play();
    }

    Anyone has an idea?
    Last edited by vilmavaliente; 2011-04-07 at 08:06.

  5. #5
    Regular Contributor
    Join Date
    Jan 2011
    Posts
    122

    Re: what to use to play sound and control its volume for Symbian^3?

    Anyone out there with idea on how to improve playing wav files using QSound? Is it even possible for the fast clicks? Or should I use a different sound-related class?

Similar Threads

  1. What to use to draw Polygon for Symbian^3
    By vilmavaliente in forum [Archived] Beginning Qt
    Replies: 2
    Last Post: 2011-01-15, 09:23
  2. How to control the phone sound device volume?
    By Joney.Zhang in forum Symbian
    Replies: 2
    Last Post: 2008-11-24, 07:33
  3. Is it possible to control the volume sound from proprietary app
    By fjorge_ht in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-06-06, 10:15
  4. Replies: 5
    Last Post: 2006-08-08, 21:44
  5. how to control the volume on sound?
    By the_professor11 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-02-16, 19:18

Posting Permissions

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