AudioTrack constatly starting in Android


#1

I just noticed this while testing for the first time on an Android 7.0 device (LG G6). This did not happen on my previous test device, with Android 6.0.1. The debug log shows the following messages constantly while the game is running (about 40 times per second):

01-12 11:12:10.273: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.294: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.313: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.335: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.353: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.375: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.416: D/AudioTrack(7412): start(): 0xcce36800
01-12 11:12:10.433: D/AudioTrack(7412): start(): 0xcce36800
...

While this doesn’t seem to be causing problems at first glance, it might be related to some crash reports I’ve been getting from users. Any idea of what could be causing this?

I am using OpenFL 3.6.1, with HaxeFlixel 4.2.1, Lime 2.9.1.


#2

Lime legacy used AudioTrack for sound, I believe for type “music”, but otherwise I wonder if this is an error message, or just some sort of chatty log message?


#3

It is a log message, not an error. It’s just strange that it is showing on every frame, as if it were constantly starting or unable to start, and I fear it may be symptom of a problem.