gap and audible click when using 'loops: MediaPlayer.Infinite' and 'loops: Audio.Infinite'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
media-hub (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In looking at bug #1389477 I discovered that if I use either of the following:
Audio {
id: playAudio
autoLoad: true
autoPlay: true
loops: Audio.Infinite
source: "./file.mp3"
}
or:
I also tried:
MediaPlayer {
id: playAudio
autoLoad: true
autoPlay: true
loops: MediaPlayer.
source: "./file.mp3"
}
then the file plays fine and will loop perfectly on the desktop with no audible gaps or added noise. However, on the phone the file will play and loop, but there is a small gap in playback and an audible click (mako/14.09/r6).
Gapless noiseless looping is essential for the app I am writing (a white noise relaxation/sleep aid app).
This is still a problem on OTA9.1. I tried SoundEffect. Infinite as well, and it exhibits the same symptoms.