Linux intel8x0 Sound Driver
I am a newbie when it comes to messing around with kernel code. What I am trying to do is modify my existing sound driver to forward any audio data to some place that I specify. My current plan is to send it to a user process using something like netlink, but I don't think that part is very important for this question yet.
I am having a hard time even figuring out where the actual audio data even is. The driver being used is intel8x0. The source can be found here: [lxr.free-electrons.com]
The snd_intel8x0_update method gets called repeatedly once I begin playing audio, so I thought that was a good place to start looking for audio data. I have no had any luck so far. I'm sorry that I have not made my question more concise, but do any of you have advice or something to point me when trying to access this audio data? Is it ever even accessed by or passed through the kernel driver module? Is there any way to access it from a kernel module, even if it is not the sound driver?
Thanks in advance.