there is always some noise on microphone. you can open a a stream and if it succeeds run it for a half second and see how high of an amplitude you get. not 100% reliable, but very close I would expect. Or perhaps just a table of known devices with mics? (TX, LD, etc...)
On 6/28/06, Don <[EMAIL PROTECTED]> wrote:
Is there any reliable way of determining at run time whether the current device has audio recording capability ? I've tried using SndStreamCreate with sndInput parameter but the call seems to succeed even on devices that don't have recording capability. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: hacker19180 MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
