Error getting tags :
error 404Error getting tags :
error 404 recordCompressionTypes | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
recordCompressionTypes
Basics
Expander triangle
Type
Function
Syntax
the recordCompressionTypes recordCompressionTypes()
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows
Security
None required
Summary
Returns a list of audio codecs supported by the currently installed version of QuickTime.
Examples

the recordCompressionTypes
if storedType is not among the lines of the recordCompressionTypes \
then answer record

Additional Comments
Expander triangle

Use the recordCompressionTypes function to find out which formats you can use to record sound with the record sound command.

Value:

The recordCompressionTypes function returns a list of available audio codecs, one per line. Each line consists of two items:

* the codec's name

* the codec's four-character identifier

Comments:

You specify a codec by setting the recordCompression property to one of the four-character identifiers returned by the recordCompressionTypes. The record sound command then uses that codec to compress recorded sounds. Each codec supports a different type of compression.

The recordCompressionTypes function requires QuickTime to be installed. If QuickTime is not installed, the recordFormats function returns empty.

Tip: It can take Revolution a second or two to load the code needed to use QuickTime, depending on the machine speed. Since this code is only loaded into memory once per session, you can speed up the first occurrence of a QuickTime-related action by calling the QTVersionfunction during otherwise dead time--for example, during startup of your application--to preload the code.

User Comments
Expander triangle