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. Multiple QMediaPlayer objects : setVolume affects others
Forum Updated to NodeBB v4.3 + New Features

Multiple QMediaPlayer objects : setVolume affects others

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.0k 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.
  • I Offline
    I Offline
    inspired
    wrote on last edited by
    #1

    Hello, in my applications i have 2 QMediaPlayer objects and i wanted to do a fade between them.

    But i just realized that if i change the volume of the first object, then the volume of the second object changes.

    Is this normal? Maybe all the QMediaPlayer objects run from the same "sink/output" (i remember from the phonon things like that in the description) so setting the volume actually changes the volume of the "sink"?

    Or is this a bug?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gilgrum
      wrote on last edited by
      #2

      I didn't notice you posted this just a few hours before my (slightly different) post. I've noticed this same issue also occurs between 1 QMediaPlayer object and 1 QVideo object.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        inspired
        wrote on last edited by
        #3

        at least it does not happen only in me.. even updated Qt to 5.0.1 but same behavior.. Let's wait for an answer from someone who knows.. but i think that this has to be filed as a bug.. it's absolutely NOT normal

        1 Reply Last reply
        0
        • I Offline
          I Offline
          inspired
          wrote on last edited by
          #4

          please an answer from someone that knows something

          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