user71512
user71512

Reputation: 177

How to programatically create custom input/output devices?

How do i create a custom media input/output device like a speaker or microphone that i can select from a program like Skype. For example i could make a GreyScale webcam that reads the webcam and makes it greyscale or a custom Beep Speaker that takes anything a program sends to the speaker and adds a beep after 3 seconds etc. An example would be this:

http://www.videohelp.com/tools/UScreenCapture

I just need help on how to create the actual (virtual?) device, not how to make it greyscale etc. I can figure that out later.

Where do i even begin to search for tutorials/readings on this? As per the tags, i prefer qt/c++ related but it doesn't necessarily have to be that. Just a nudge in the right direction to get me started would be fine.

Upvotes: 1

Views: 838

Answers (1)

Potatoswatter
Potatoswatter

Reputation: 137780

You need to create a device driver. What that entails depends entirely on the platform and the type of device you want to emulate.

Start with the documentation of your operating system and look up references as if you were developing a new hardware device. But you'll just skip any actual hardware interfaces.

Nevertheless this is likely to require kernel programming, so Qt is likely to be inappropriate.

Upvotes: 1

Related Questions