don't forget that the TX and T5 CAN have microhpones external or internal.
On 6/29/06, Neil Whitworth <[EMAIL PROTECTED]> wrote:
Dmitry Grinberg wrote: > 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/ >> > > We have had some problems using input sound streams on devices without this capability. On the Tungsten E2 we found that we could create the sound stream without problem, but SndDeleteStream (?) would hang the device. We are currently looking for the make/model of the device and cheking a hard coded list to determine if we should start the sound capture at all. -- 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/
