Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
1.2.1
-
Nokia Belle FP1, Qt 4.8, Qt Mobility 1.2
-
940db30b4b2045a818d6d862a2d9587d965388f3
Description
audiorewind.qml
import QtQuick 1.1 import QtMultimediaKit 1.1 Rectangle { width: 360 height: 360 Text { id: label text: qsTr("Hello World") anchors.centerIn: parent } Audio { id:muzik volume: 1 source: "audio/muzik.mp3" muted: Qt.application.active ? "false" : "true" } Timer { id:soundRestartTime interval: 10000 repeat: true running: true onTriggered: { muzik.position = 0; } } Component.onCompleted: { muzik.play(); } MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } } }
The above code is meant to continously play an audio sample with rewind every 10 seconds. And works just fine on my Nokia 808 (reports say it does not work on Nokia N8 with Belle, but that's another issue).
The thing is that althoug the volume is set to max (1) and it supposed to remain constant, the following behavior is expected: if the app is sent to background the sound is muted (OK) and when it is brought back to foreground it unmutes (OK) but a significantly higher volume level than expected.
It would appear therefore that the volume control is broken.