-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I tried to put, bcoz my aac file max length is 60 secs, but error showed. Pls help!
aacPlayer.setAudioBufferCapacityMs(60000);
aacPlayer.setDecodeBufferCapacityMs(700);
E/AudioTrack: AudioFlinger could not create track, status: -12
02-22 16:07:08.195 17515-19800/com.example.mjay.musicapp E/AudioTrack-JNI: Error -12 initializing AudioTrack
02-22 16:07:08.196 17515-19800/com.example.mjay.musicapp E/android.media.AudioTrack: Error code -20 when initializing AudioTrack.
02-22 16:07:08.197 17515-19800/com.example.mjay.musicapp E/PCMFeed: error in playback feed: -3
02-22 16:07:08.197 17515-19800/com.example.mjay.musicapp D/PCMFeed: run() stopped.
02-22 16:07:08.197 17515-19784/com.example.mjay.musicapp I/Decoder: stop() stopping native decoder
02-22 16:07:08.197 17515-19784/com.example.mjay.musicapp I/AACPlayer: play(): average decoding time: 45 ms
02-22 16:07:08.198 17515-19784/com.example.mjay.musicapp I/AACPlayer: play(): average rate (samples/sec): audio=88200, decoding=1365333, audio/decoding= 1447 % (the higher, the better; negative means that decoding is slower than needed by audio)
02-22 16:07:08.198 17515-19799/com.example.mjay.musicapp D/BufferReader: run() stopped.