Does any one know how to detect programmatically if the audio being
recorded on a PPC is coming in from an internal or external microphone?

Thanks!