# Test File Type

This function is used to modify the action test state based on the type of file being processed.

When testing for MPEG-4 files you can match Any, AAC or ALAC files.

When testing for OGG files you can match Any, Vorbis or Opus files.

If any active file has one of the specified file types, the result of the test is true, otherwise false. The result of the test can be Set, Anded or Ored to the action test state.

You can choose to save the per file results of the test to a track variable. When setting a track variable, the Set, And, Or semantics are applied. The result stored to a track variable will always be a 0 or 1.

# Specifying the File Types at Runtime

If Determined at runtime is enabled, you list the filetypes you wish to test in a specified named variable. File types are case insensitive and are be delimited by newline characters (\n), commas (,), or the default list delimiter (\~). The file types are case insensitive and can be any of: AIFF, APE, DFF, DSF, FLAC, MPEG-4, MP3, OGG, WAV, WAVPACK.

MPEG-4 is equivalent to MPEG-4 (Any). You can also specify AAC and ALAC. If more than one of MPEG-4, AAC and ALAC is specified only the last will be used.

OGG is equivalent to OGG (Any). You can also specify VORBIS and OPUS. If more than one of OGG, VORBIS and OPUS is specified only the last will be used.