Hi Glenn, thanks a lot for answering. I hope you don't mind if I ask you to guide me through these steps. I have both the kernel driver code, the datasheet and device schematics, so I have all's required to complete this... I think. Except experience :)
For example, I've posted the device control names already, from kernel driver. There's no external DSP, as the audio section is relatively simple and designed around a Realtek ALC5621 chip. About control values. I've got the ALC5621 datasheet, but I miss where to define those values in our code. If you could provide how that works for the grouper' example, for just one control, I could try to map to my device and eventually extend to all controls. 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, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
