[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-02-04 Thread ngl
Hello, I have the ObtainBuffer timedOut error too. I use ALSA on SH-mobile processor with Renesas audio codecs. My Linux Kernel version is 2.6.27 and i use a Cupcake version of Android. The message appears: - sometimes when read wav or midi files (with the player) - often when read MP3 or OGG

[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-02-04 Thread Dave Sparks
These all sound like symptoms of the same problem. We don't have anything internally using the ALSA drivers and I haven't looked at them myself. Maybe somebody from WindRiver can lend a hand. On Jan 10, 12:05 am, Neo naveenkrishna...@gmail.com wrote: On Jan 9, 11:31 pm, Dave Sparks

[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-01-09 Thread Anil Sasidharan
Hi leemgs, I guess the question was about ALSA integration into Android, hence the point regarding the presence of /dev/eac is a little confusing. From the descriptions given by Naveen about their implementation, its clearly evident that the initial integration with ALSA driver is

[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-01-09 Thread Dave Sparks
/dev/eac is only necessary if you are using the generic user space audio driver. If you are using ALSA driver, /dev/eac should not come into play at all unless you are running your code in emulation. On Jan 9, 2:24 am, Anil Sasidharan anil...@gmail.com wrote: Hi leemgs, I guess

[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-01-08 Thread leemgs
Hi, I have one opinion about your question. Maybe, /dev/eac device node file didn't made by default About audio probelm, see ./system/core/init/devices.c file, If audio is subsystem audio, this is consist of /dev/snd/ sub directory. If audio is generic audio , AudioHardwareInterface.cpp