How to get input from audio jack in Windows?

I'm attempting to create a Windows application that will allow the controls on earbuds/headphones that have them (such as the Nokia Purity earbuds) to work on Windows. I would think that there are two ways to go about doing this:

  1. Attempt to get some kind of input from the audio output jack
  2. Plug the earbuds into the microphone jack, and then try and play music through there (while watching the microphone's input for whatever it is that the buttons do).

So, I'm starting off by trying the first option, which leads me to my question. Is there a way to get any kind of raw input from the audio jack in Windows? Is there a better way to do this? I'd like to use C#, but if it's only possible in C/C++ or another language, that would be fine as well. Thanks!

Answers


There is no such possibility. PC audio jacks are only two channels (stereo). Headphones with additional buttons use more than two channels to handle them.


Need Your Help

emacs python mode, python-send-buffer/string/region gives “Invalid Syntax” error

python osx emacs

I have used python-mode's python-send-buffer(and similar ones) successfully in a different system in the past.

Angularjs horizontal view swiping menu

angularjs menu swipe

I need to implement an horizontal swipe menu like this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.