Signal about microphone connected on jack

This is a discussion on Signal about microphone connected on jack within the Linux Programming forums, part of the Platform Specific Boards category; Hi, Is there any ways to get signaled that microphone was connected on jack?Until now i have tried this with ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 06:43 AM
  3. connected?
    By Shakespeare in forum C++ Programming
    Replies: 3
    Last Post: 01-23-2003, 07:42 AM
  4. computer microphone?
    By Waldo2k2 in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-26-2002, 03:22 PM
  5. Microphone recognition...
    By weraw in forum C Programming
    Replies: 2
    Last Post: 12-26-2001, 10:11 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21