Discussion:
Android: ALSA SoC Audio issues
Naveen Krishna Ch
2009-01-15 05:14:31 UTC
Permalink
Yeah,
I am using the Windrivers Audio ALSA integration in Android.
And i have the
"ObtainBuffer timedOut (is the CPU pegged?) "
message from AudioFlinger.
Where i should look for a promissing solution.
I have a couple of other issues regarding Audio on Android.

I am using 2.6.26 kernel with ASoC stuff ported from 2.6.28.

If it was a kernel bug (as said by Sean) Any one knows the fix.

Audio is workingon android with following issues.

1. AudioRecord: BufferOverflow
Error message when trying to record with asimple record applciation.
This message follows a condition of getting a nextBuffer in the
queue.
It arives after 2 or 4 seconds of recording and nothing records after
this message.
But, there is no crash or any other prints.

2. Underrun Occured
Message comes from alsa lib.
when trying to change the medio volume with some other applications
too.
But, this dosent seems to cause any problem to any applications
progress.
Any kind of help is appreciable.
--
Cheers
(: Naveen Krishna Ch :)

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe-/***@public.gmane.org
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Naveen Krishna Ch
2009-01-15 15:17:18 UTC
Permalink
In the AudioFlinger.cpp i found some lines saying (Fix Me)
Are they fixed Can any one help me figuring out my issue


if (__builtin_expect(result!=NO_ERROR, false)) {
LOGW( "obtainBuffer timed out (is the CPU pegged?) "
"user=%08x, server=%08x", u, s);
mAudioTrack->start(); // FIXME: Wake up audioflinger


On Thu, Jan 15, 2009 at 10:44 AM, Naveen Krishna Ch <
Post by Naveen Krishna Ch
Yeah,
I am using the Windrivers Audio ALSA integration in Android.
And i have the
"ObtainBuffer timedOut (is the CPU pegged?) "
message from AudioFlinger.
Where i should look for a promissing solution.
I have a couple of other issues regarding Audio on Android.
I am using 2.6.26 kernel with ASoC stuff ported from 2.6.28.
If it was a kernel bug (as said by Sean) Any one knows the fix.
Audio is workingon android with following issues.
1. AudioRecord: BufferOverflow
Error message when trying to record with asimple record applciation.
This message follows a condition of getting a nextBuffer in the
queue.
It arives after 2 or 4 seconds of recording and nothing records after
this message.
But, there is no crash or any other prints.
2. Underrun Occured
Message comes from alsa lib.
when trying to change the medio volume with some other applications
too.
But, this dosent seems to cause any problem to any applications
progress.
Any kind of help is appreciable.
--
Cheers
(: Naveen Krishna Ch :)
--
Cheers
(: Naveen Krishna Ch :)

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe-/***@public.gmane.org
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Loading...