Greg,
 
when the simpleplayer plays clips containing both video and audio, the audio may disappear randomly, and once the audio disapears, it keeps silent ever since then. it happens even the complexity of the media is very low and the decoding of audio and video only takes about 50% cpu. Can you help me to find out what may cause this problem? Thanks.
 
one thing I want to point out is, the OS uses linux default OSS audio driver. originally the simpleplayer plays audio with wrong frequency. then I find the line in audio/device/platform/unix/audlinux_oss.cpp does not return correct value, and it does not support ODELAY correctly: 
 theErr = ::ioctl(m_nDevID, SNDCTL_DSP_GETODELAY, &bytes2);
so I just comment it out and the simpleplayer can player audio correctly, but the problem above happens.
 
The profile of the device:
OS: linux 2.2
CPU: ARM920T 206MHz
RAM: 32M
 
the build option of simpleplayer:
branch: hxclient_1_3_0_neptunex_restricted
platform: linux-2.2-libc6-armv4l-cross-gcc2.95
distribution/archive from: linux-2.2-libc6-armv4l-gcc2.95
build Type: release
build options: release
profile: /home/leon/helix/build/umakepf/helix-client-local-ra-rv-mp3
cvs revision: hxclient_1_3_0_neptunex
copy target: release
target(s): splay
$Id: umake.py,v 1.45 2004/10/12 22:08:26 hubbe Exp $
C Compiler: arm-linux-gcc
Reading specs from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
C++ Compiler: arm-linux-g++
Reading specs from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 
 
Leon
 
 
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to