Re: Media getCurrentPosition kills app after a while (cpu usage increases continously

2015-06-01 Thread Gerwin Brunner
Anybody got an idea why this happens? Gerwin Brunner wrote: Hi, I'm experiencing a very strange behavior in the Media API. I just play a MP3 file and update the time spent playing. Here is a very simplistic code: var self; self = this; self.interval = 50; self.audioFile= &qu

Media getCurrentPosition kills app after a while (cpu usage increases continously

2015-05-29 Thread Gerwin Brunner
Hi, I'm experiencing a very strange behavior in the Media API. I just play a MP3 file and update the time spent playing. Here is a very simplistic code: var self; self = this; self.interval = 50; self.audioFile= "asd.wav"; self.audio = new Media(self.audioFile, function() { return console.lo