2

Using CSound for Android I get this (appearantly harmless) error:

E/AudioTrack: did not receive expected priority boost on time

What does it mean? How can I boost this Audio priority?

Beppi's
  • 2,089
  • 1
  • 21
  • 38

1 Answers1

2

It looks like it is related to the way that Android temporarily elevated the priority of the FastMixer and AudioTrack callbacks threads, as to prevent priority-inversion. According to the docs, this log message appears when the request to shift the priority does not succeed.

Google's log

Ax.Art
  • 21
  • 1
  • 3
  • Thank you, your answer was very detailed. But I fail to understand how to fix this, do you have any solution? How can I request this priority shift? I'm totally confused :D Thank you very much. Anyway, according to that document, it looks like this does not have impact on runtime, but only in initialization, do you confirm this? – Beppi's May 13 '17 at 14:12
  • I also think that it should not affect the performance after the initial jitter but have not tested it myself so I cannot tell you for sure, in that case it looks like an internal implementation thing. – Ax.Art May 17 '17 at 14:29