Audio stops unexpectedly
QML and Qt Quick
1
Posts
1
Posters
453
Views
2
Watching
-
i'm playing an audio file (.ogv) with MediaPlayer and Audio components and i set audio to loop infinitly, but after sometime the audio stops playing
the code:
@
MediaPlayer
{
id : sound
source: "qrc:///resources/audio.ogv"
autoLoad: true
autoPlay: true
loops: Audio.Infinite
property bool isPlaying: true} Audio { source: sound }
@