Results 1 to 3 of 3

Thread: Volume control for Windows XP

  1. #1
    Join Date
    Jan 2006
    Posts
    185
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Volume control for Windows XP

    I want to write a program that allows me to control the volume, specifically the Line in volume in my computer.

    The program should be able to read how loud the volume is and adjust it.

    Any ideas ? What QT classes could I use ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Volume control for Windows XP

    Why would you think Qt handles such things as modifying sound volume on WindowsXP?

  3. #3
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Volume control for Windows XP

    Hmm, I think you should visually choose one of the Qt's widgets such as QDial or combination of QProgresBar and QSlider to get volume percentage (0-100%). Then, you must use Windows API to change volume settings of sound card.
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. Replies: 6
    Last Post: 3rd February 2006, 09:48

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.