slygamer
Active Member
I'm trying to work out what this code in rlyeh's Minimal SDK does.
I've figured out that they are some AC97 codec registers, but the databook does not go into any further detail. What are these writes to the registers doing and why are the usleep() calls necessary?
Code:
gp2x_memregs[0x0F16>>1] = 0x830a;
usleep(100000);
gp2x_memregs[0x0F58>>1] = 0x100c;
usleep(100000);
I've figured out that they are some AC97 codec registers, but the databook does not go into any further detail. What are these writes to the registers doing and why are the usleep() calls necessary?