Results 1 to 8 of 8

Thread: Sound Volume

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Sound Volume

    Hi,
    It is difficult to debug from this point. I don't know the details of your eval kit. You must use this method I gave you to set the volume though. This should point you in the right direction. You'll have to google a few things about sound in linux or check the documents that came with your kit.
    You need to know a few things.
    1) Which mixer your sound card is using /dev/mixer0,1,2
    2) In the bash prompt , can you type 'amixer'? This is the basis of setting the audio details (sound level, bass, treble or any details for your particular card). 'amixer -h' will give you a list options.
    3) Without even using qtopia in bash prompt can you type 'aplay "soundname", where soundname is the name of the wav file.

    PS. Did you try different values in setLevel?

  2. #2
    Join Date
    Jan 2008
    Posts
    91
    Thanks
    8

    Default Re: Sound Volume

    Dear QbelcorT,
    I tried to do what you said, but it didnt help me . I think, i have to find an other way except QSound . I can't use together QSound and "/dev/mixer" together. I wonder that, Are there any other way except QSound for playing sounds on Linux? Does the Linux device like "/dev/dsp" do that function?
    Last edited by anafor2004; 24th November 2008 at 08:06.

  3. #3
    Join Date
    Jan 2011
    Posts
    39
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Sound Volume

    want to control windows volume control.Is there any way to control using qslider??

    advance thanks

Similar Threads

  1. How to get the Volume name from QFileDialog?
    By vishal.chauhan in forum Qt Programming
    Replies: 0
    Last Post: 30th August 2008, 12:28
  2. No sound on embedded devices
    By winarko in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 25th June 2008, 22:08
  3. Getting sound data from a wave file
    By ko9 in forum Qt Programming
    Replies: 1
    Last Post: 12th October 2007, 11:23
  4. Volume control for Windows XP
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 30th May 2007, 06:18
  5. MP3 Sound / OGG Sound Play on GUI
    By patrik08 in forum Newbie
    Replies: 3
    Last Post: 1st September 2006, 19:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.