Hello all,

I'm trying to add audio to my game and following the jetboy tutorial
and dev pages I'm doing it as follows:

I'm initialising like this:

JetPlayer JET_PLAYER = JetPlayer.getJetPlayer();
JET_PLAYER.clearQueue();
JET_PLAYER.loadJetFile(p_resources.openRawResourceFd(R.raw.ingame1));
byte sSegmentID = 0;
JET_PLAYER.queueJetSegment(0, -1, 0, 0, 0, sSegmentID);

then doing:

JET_PLAYER.play();

ingame1.jet only contains 1 segment, which is the track I'm trying to
play.
The audio plays ok but I keep getting these in logcat:

W/AudioFlinger(   31): write blocked for 49 msecs
W/AudioFlinger(   31): write blocked for 50 msecs
W/AudioFlinger(   31): write blocked for 54 msecs

They are quite frequent...3-4 of those per second. Is this normal or
am I doing something wrong?

cheers,
kk.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to