Just use AudioHadwareAlsa.cpp file for doing that.This file directly
interacts with ALSA lib to write data to the below hardware,but in
this case you need to take care of synchronization issues which can
come up and many other issues which you will come across.Because in
this case audioflinger will
Its there in external/libaudio/AudioHardwareAlsa.cpp
You can use this to test alsa playback directly.
alsa_aplay -D hw:0,0 some.wav
This will directly talk to alsa.
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
ani, I don't think there is an external/libaudio in AOSP.
Where do you get the tree?
david, the alsa support are in the
hardware/alsa_sound/, external/alsa-lib and external/alsa-utils.
But the three projects are not default in AOSP.
You have to add them to your manifest.xml manually.
On 1月21日, 上
>ani, I don't think there is an external/libaudio in AOSP.
Where do you get the tree?
Thanks Chih you are right.
This external/libaudio is there in my local setup however David if you
want to see the audiohardwarealsa and related files you can use this
url.
http://android.git.kernel.org/?p=platf
Hi Ani,
where could I find the AudioHadwareAlsa.cpp?
Thanks,
daivd
2010/1/14 ani
> Just use AudioHadwareAlsa.cpp file for doing that.This file directly
> interacts with ALSA lib to write data to the below hardware,but in
> this case you need to take care of synchronization issues which can