討論區: 幫助論壇 (Thread #26694)

Android 1.5 Question: (2010-06-30 02:03 by xaueious #51640)

The app works in Android 1.5.

I have it working on RK2808 tablet PC, but I am getting errors related to the sound driver. Your app is probably okay, because video plays, comments display and audio is playing. But it's unusable because audio is too slow.

If you have any idea if there is an override I can do to fix this, (alsa.conf?) that would be great.


adb logcat ->
D/AudioHardwareALSA( 715): ALSAStreamOps::close()++++++++++++++++++++++++++++++++++++++++++++
I/AudioHardwareALSA( 715): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal
D/AudioHardwareALSA( 715): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
D/AudioHardwareALSA( 715): Using 2 channels for PLAYBACK.
D/AudioHardwareALSA( 715): Set PLAYBACK sample rate to 48000 HZ
D/AudioHardwareALSA( 715): Buffer size: 5120
D/AudioHardwareALSA( 715): Latency: 106666
W/AudioTrack( 6269): obtainBuffer timed out (is the CPU pegged?) 0x49bf38 user=0001bb80, server=00010000
D/AudioHardwareALSA( 715): ALSAStreamOps::close()++++++++++++++++++++++++++++++++++++++++++++
I/AudioHardwareALSA( 715): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_normal
D/AudioHardwareALSA( 715): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
D/AudioHardwareALSA( 715): Using 2 channels for PLAYBACK.
D/AudioHardwareALSA( 715): Set PLAYBACK sample rate to 48000 HZ
D/AudioHardwareALSA( 715): Buffer size: 5120
D/AudioHardwareALSA( 715): Latency: 106666
E/ALSALib ( 715): external/alsa-lib/src/pcm/pcm.c:7242:(snd_pcm_recover) underrun occured..

RE: Android 1.5 Question: (2010-06-30 22:46 by shisei123 #51658)

Hello.

I have some questions.

1. Is the video time counter (there is it at the lower right) correct?

If the counter is slow, it is a performance problem.
The improvement of the performance is one of the NicoRo's problems.

2. If the counter is not slow, can Music application play a sound file of 48000HZ correctly on the tablet PC?

If the sound file cannot play correctly, I think it is a problem of audio driver.
回覆: #51640