I updated information about config-variables, including more info in the introduction as well as about the reccfg-config-variable, which sets the recording-format in the current project.
Code:
reccfg
The audioformat for Recording, as set in the Project Settings->Media-dialog
Only includes the format, not the individual format-settings(like bitrate, etc)
Setting them changes the recording-format, though setting some will
not update the Project Settings->Media-dialog properly (Video, GIF, AudioCD)
but will show WAV instead with the additional dialog-boxes for Video, GIF
or AudioCD added.
If you change the audioformat, it will use the last used setting for the "new" format, as set
in this project. Uses the default Reaper-settings for formats in new projects.
It is an integer.
1179012432, Video (ffmpeg/libav encoder)
1195984416, Video (GIF)
1279477280, Video (LCF)
1332176723, OGG Opus
1634297446, AIFF
1684303904, DDP
1718378851, FLAC
1769172768, Audio CD Image(CUE/BIN format)
1836069740, MP3 (encoder by LAME project)
1869047670, OGG Vorbis
2002876005, WAV
2004250731, WavPack lossless compressor
Havent checked, but it might work for rendercfg and afxcfg as well.