Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to change sound volume of Qt application
Qt 6.11 is out! See what's new in the release blog

How to change sound volume of Qt application

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aashish.lg
    wrote on last edited by
    #1

    Is there any way of controlling sound volume of Qt Application, irrespective of objects being used inside Application(e.g. music player, qwebview, qwebpage etc.). I am looking to control sound volume of my Qt app so that it will be applicable for that process only.
    So if user is running some other app on the system, that will not get affected.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      francomartins
      wrote on last edited by
      #2

      i'm using :
      @
      Phonon::VolumeSlider ;
      @

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aashish.lg
        wrote on last edited by
        #3

        which class are you using to produce sound because as far I know we have to use MediaObject and has to attach volumeslider with it...

        I am using QWebView and not finding any way to attach it with VOlumeSlider.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved