file | Specifies the file name of the file to convert. You can specify multiple file/speaker position pairs: XMA2ENCODE pcmfile [/Speaker pos ...] [pcmfile [/Speaker pos ...] ...] [options]. When you encode multiple files, XMA2Encode requires that the input files are either all single channel or all stereo with the last stream being mono or stereo, depending on the number of channels being encoded.
Note: XMA2Encode supports audio files in PCM format or the XMA2 format (with /DecodeToPCM) only. |
/TargetFile xmafile | Encodes to xmafile (only one target file is allowed). |
/PCMOutputFile pcmfile | Decodes the generated XMA2 file back to pcmfile. When you use this option, the tool generates two output files: an XMA2 encoded audio file and a PCM file, which is the result of decoding the XMA2 file that was just created. The resulting PCM file has the same audio quality as the new XMA2 file. You can preview the XMA2 file’s quality on Windows. |
/DecodeToPCM pcmfile | Decodes an existing XMA2 file to pcmfile. |
/BlockSize | Specifies the XMA2 compression block size to use (2 KB to 8,190 KB). The default block size is 64 KB. |
/Quality value | Specifies the XMA2 compression quality level to use (1 to 100). The default value for quality is 60. |
/FilterHighFrequencies | Filters out high frequencies in the source file. |
/LoopWholeFile | Loops the entire file, even if loop points are already present. LoopWholeFile and UseLoopPoints are mutually exclusive. If neither the LoopWholeFile nor the UseLoopPoints argument is specified, the file doesn’t loop, even if loop points are present. |
/UseLoopPoints | Uses existing loop points, if present; otherwise, it doesn’t loop. LoopWholeFile and UseLoopPoints are mutually exclusive. If neither the LoopWholeFile nor the UseLoopPoints argument is specified, the file doesn’t loop, even if loop points are present. |
/Speaker pos | Specifies the speaker assignment for a channel of the source file. This option must immediately follow the file name. pos can be L, R, C, LFE, LS, RS, LB, or RB, where L = Front left, R = Front right, C = Front center, LFE = Low frequency, LS = Left surround, RS = Right surround, LB = Left back, and RB = Right back.
Note: If an input file doesn’t have a channel mask, or if it has a channel mask with a number of bits set that doesn’t match the file’s channel count and no speaker assignments are specified with the Speaker option, the resulting XMA file has a channel mask of 0. |
/MeasureTime | Shows the time spent encoding. |
/Verbose | Enables verbose output. |
/Help | Shows this usage information. |