Ok, I think I'm going to close this thread, as I figured out that the issue 
arise from not powering the mixer device first of all. Unfortunately the 
power control was last one in the list, so initialization of HAL failed all 
control settings, until last one (power) was reached. I patched 
audio_route.c to force power first and now everything goes fine... looks 
like.

Thanks all for the contributions!

On Thursday, 8 November 2012 14:42:21 UTC+1, ffxx68 wrote:
>
> Hi
>
> I'm trying to port a ICS implementation of ALSA audio to JB, or a tablet 
> device, under this project:
>
> Mainly, I have the following to integrate (which I have the patch for ICS):
>
> external/alsa-lib
> hardware/alsa_sound
>
> plus some other smaller fix around, but I want to understand first of all 
> what to do with these two first. 
>
> For example, I have the some files with the same names in both 
> hardware/alsa_sound and hardware/libhardware_legacy/
> audio (from AOSP), but their content is very different in the two 
> locations.
>
> If I keep the ones from hardware/alsa_sound, build fails.
> If I copy them from hardware/libhardware_legacy/audio to 
> hardware/alsa_sound, I can build but I get a crash during boot.
>
> Which one should I keep and compile? 
> Once compiled, which libraries should I use from alsa_sound or 
> libhardware_legacy/audio?
>
> Basically, I don't know the approach to follow, with the ALSA integration. 
> I couldn't find any guide, or tutorial, so any help in that sense is 
> welcome too.
>
> Thanks in advance
> Fabio
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to