Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Modify phonon sound volume :
Forum Updated to NodeBB v4.3 + New Features

Modify phonon sound volume :

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 647 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.
  • S Offline
    S Offline
    Sil20
    wrote on last edited by
    #1

    Hi,
    I am developping on QT4.8.4, qtQquick 1.1, and I devellopped a sound player plugin.
    I need to be abble to modify the sound volume dynamically, but I cannot found any working solution.

    I am using Phonon mediaplayer object like in the example below

    @ qreal lVolume=aVolume;
    if (lVolume<0) lVolume=0.0;
    if (lVolume>1.0) lVolume=1.0;

    Phonon::MediaObject * lMediaPLayer=globalPhononSoundLists.value(lstmp);
    ////To DO : Modify sound Volume
    qDebug()<< "SdcnSoundMediaPlayer::setVolumeSoundEffect: Not functionnal Yet :"<<lVolume;@
    

    Is there a solution to do so?

    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