I am working with an sound application on Ubuntu Linux where I have to make decision based on Headphone Plug In or Plug out.
How can I implement this functionality using C/C++?
What library I have to use to detect Headphone is connected or not?
I am working with an sound application on Ubuntu Linux where I have to make decision based on Headphone Plug In or Plug out.
How can I implement this functionality using C/C++?
What library I have to use to detect Headphone is connected or not?