[Gta04-owner] gta04 audio patches

John Ogness gta04 at ogness.net
Sun Sep 4 15:57:01 CEST 2011


Hi,

You will notice from patch 3, that I decided to split the various
audio devices into their own files. I think this makes it a bit easier
to maintain. In the case that the hw_params() hook is the same for all
devices, you may want to add a gta04-core.c file that includes the
shared hw_params() function, rather than having 4 copies of the same
function.

I included comments where you may need to write some code. (In
hw_params() you will for sure need to add code.)

This should boot with all 4 codecs having their own alsa devices. I
didn't have time to do much testing, so there may be some typo's
there. But hopefully it will help you out a bit.

Please let me know if you have problems with the code.

John Ogness


More information about the Gta04-owner mailing list