TAudioCompression_int
TAudioCompression_int = ( ac_BitRate, ac_Info_BitRate_readonly );
Settings of the Media Foundation audio encoders (AudioCompressors list) and of the audio of the built-in MP4 / MP3 / WMA recordings, set with AudioCompression_SetInt and read with AudioCompression_GetInt.
Set with AudioCompression_SetInt before starting the recording, e.g. AudioCompression_SetInt (ac_BitRate, 192000), and read with AudioCompression_GetInt.
These settings apply to the Media Foundation encoder entries of the AudioCompressors list (e.g. "AAC (Microsoft)") and to the audio encoded by the built-in writers (RecordingMethod = rm_MP4 without audio compressor, rm_MP3, rm_WMA), from the next recording. They take precedence over the setting saved with ShowDialog (dlg_AudioCompressor) and, for rm_WMA, over ASFAudioBitRate.
-1: not set. _readonly: read with AudioCompression_GetInt only, value of the encoder of the current recording (-1 when no recording runs, with another compressor, or when the value is not known).
| Value | Description |
|---|---|
ac_BitRate |
bit rate, in bits per second (1000 to 2000000): the nearest bit rate supported by the encoder is used (AAC 96000 to 192000, MP3 32000 to 320000, WMA 32000 to 192000, WMA Pro 64000 to 768000, AC-3 192000 to 640000; not applicable to WMA Lossless / FLAC); -1 or 0: not set |
ac_Info_BitRate_readonly |
bit rate of the encoder, in bits per second |