Hi,
Klakap wrote:
How do I read the input from the microphone?
Imagine that a computer is a tree of devices; with things like CPU and memory near the root node of the tree, and things like microphones at the end-nodes/leaves. Your question indicates that you're working from end nodes back to the root node; but it's better to work from the root node to the end nodes.
More specifically; it's better to do PCI bus enumeration, then choose a specific device in the list of unsupported devices that your software generated (e.g. maybe "vendor ID = 0x1002, device ID = 0xAA38", which corresponds to an "ATI RV710/730 HDMI Audio" device); then find the documentation for that specific PCI device and write a driver for it. While writing this driver you'll notice the device's documentation (hopefully) includes information about detecting and controlling attached devices (like speakers and microphones), so you'll naturally move one step closer to the end nodes in that part of the tree of devices.
Cheers,
Brendan