Thread: Signal about microphone connected on jack

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    1

    Signal about microphone connected on jack

    Hi,

    Is there any ways to get signaled that microphone was connected on jack?Until now i have tried this with libudev with no success

    Thank you

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Random thoughts, but without anything plugged in, the signal may drift high or low. But when you plug something in, things will look different.

    Perhaps you could detect the sudden change of signal pattern?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Microphone & Linux
    By cboard_member in forum Tech Board
    Replies: 1
    Last Post: 09-10-2005, 03:39 AM
  2. Microphone input
    By MartijnG in forum C++ Programming
    Replies: 8
    Last Post: 03-01-2005, 07:43 AM
  3. connected?
    By Shakespeare in forum C++ Programming
    Replies: 3
    Last Post: 01-23-2003, 08:42 AM
  4. computer microphone?
    By Waldo2k2 in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-26-2002, 04:22 PM
  5. Microphone recognition...
    By weraw in forum C Programming
    Replies: 2
    Last Post: 12-26-2001, 11:11 AM