recordCompressionTypes

returns a list of audio codecs supported by the system.

# Metadata

Platforms: desktop OS: mac Introduced: 2.0 Security:

# Syntax

the recordCompressionTypes

# Examples

the recordCompressionTypes

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

# Description

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

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 compress.

# Tags

# See

- **keyword:** items, character, line - **property:** recordCompression - **command:** answer record, record sound - **function:** compress - **control structure:** function - **glossary:** property, loaded into memory, return, compress, command, codec