Closed yyl-20020115 closed 1 year ago
That would be a significant modification, and it's not something I can easily describe quickly. You'd have to change the code of the function outputDeviceIOProc
that runs in a separate thread so that it's reading data in from an input device, storing it in a ring buffer, then writing that same data out to the proxied input device. So basically what the device is currently doing, but in reverse. You'd also have to change the metadata about the device so that it reports itself as having two inputs rather than just two outputs.
Is there any reason you can't just read data directly from the built-in microphone? It ought to be possible for more than one app to read its input.
He may want to record system sound
Hi Brian, How can I modify the code to proxy built-in microphone ? I mean capture microphone data and the other application can read the data from the device of this driver.
Best Regards, Yilin