I'm developing a PCIe video/audio capture card driver. For the video capture, it is no doubt to use avstream. For the audio capture, I’ve studied msvad/vadarray sample and thought it should work well. However, when I try to combine these two frameworks in the same driver, they conflict badly. Is it actually possible to merge them? If not, which approach would be better?
- Implement the audio capture using avstream: Based on the “custom-audio-driver-type-decision-tree”, I’m not sure whether avstream can handle audio DMA properly. I also checked wdmaudiodev and found someone work with this for several weeks.
- Implement a bus driver that creates two virtual child devices (PDOs): one for the avstream driver and one for the portcls driver. Gemini mentioned this approach, but I’m not sure if there is a sample—or whether this is even the correct direction.