Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt has a quieter sound than the standard player



  • i use this code for record my wav file

    QSoundEffect* effect = new QSoundEffect{this};
        effect->setSource(QUrl::fromLocalFile(":/audio/gudok5secMarginPauses1sec.wav"));
        effect->setVolume(1.0);
        effect->play();
    

    but the playback sound is quieter than if I open this file through a
    standard Windows Media player
    i also use this code

    QSound::play(":/audio/gudok5secMarginPauses1sec.wav");
    

    but the result is the same. How can I get the same loud sound as in Windows Media player?


Log in to reply