How to determine audio input options?

Richard Gaskin ambassador at fourthworld.com
Sat Oct 10 19:19:53 EDT 2009


Sarah Reichelt wrote:

> On Sun, Oct 11, 2009 at 7:03 AM, Richard Gaskin
> <ambassador at fourthworld.com> wrote:
>> The recordInput global property can be set to any of these values:
>>
>> imic - records from the internal microphone
>> emic - ecords from the external sound input jack
>> cd   - records from an internal CD player
>> irca - records from an RCA input jack
>> tvfm - records from an FM radio tuner
>> idav - records from a DAV analog input port
>> mbay - records from a media-bay device
>> modm - records from the modem
>> zvpc - records from zoom video input
>> none - does not record.
>>
>> That's cool and all, but many of those options don't exist on my system.
>>
>> I tried searching the Dictionary for something like soundSources or
>> soundInputs, and came up empty.
>>
>> Do we have a way to determine which of those options accepted by the
>> recordInput property actually exist on the current system?
> 
> 
> Seems odd - there should be an equivalent to the driverNames.
> 
> However this line from the docs might be useful:
> The value "dflt" indicates that the record sound command should use
> the sound input device chosen in the user's system settings.

Thanks, Sarah.  I thought about just using the default setting and if 
the user wants to change it they can go do in the System Prefs panel. 
Looks like that's what I'll have to do, since we can't know from inside 
Rev what the user might have as input options.

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list