Xbox Audio Question
Posted 05 May 2008 - 12:36 AM
What I'm trying to figure out is what registers are acessed through MMIO and which ones are accessed by PMIO and PCI statements. This is where I'm stuck at. Are the registers being written to in the openxdk exclusive to the xbox? Thanks.
Posted 06 May 2008 - 09:09 PM
AC97 is more a concept than a tight specification. If you can read AC97 that means you can expect to find a minimal set of controls over the sound playback. The very detail about how controls are done (which register, which way to write in it) varies a lots. I could study several models of Sound Blaster, some Muse card, some Sis and Intel sound chipsets... etc. The low level code to access controls varies a lot.
A wonderful source is the source code of ALSA (advanced linux sound audio), a good sound management library for linux. But it consumes time to just extract the low level access knowledge to rewrite small efficient code.
The audio.c file was already in openxdk when I started coding on my xb1, but I guess it was close to another existing sound chipset (clue is given at start of audio.c file, I guess). I just pushed a bit to have DPC (delayed procedure call) usage everywhere to avoid console hang-ons.
MS, for the 360 didn't care at all about the AC97 specification.
Edited by openxdkman, 06 May 2008 - 09:11 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users