add warning about configuration variable types to session_configuration_vars.h as well

git-svn-id: svn://localhost/ardour2/branches/3.0@8433 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-01-04 14:41:07 +00:00
parent f4b2805533
commit f448697039
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,14 @@
*/
/*****************************************************
DO NOT USE uint8_t or any other type that resolves
to a single char, because the value will be
stored incorrectly when serialized. Use int32_t
instead and ensure that code correctly limits
the value of the variable.
*****************************************************/
CONFIG_VARIABLE (CrossfadeModel, xfade_model, "xfade-model", FullCrossfade)
CONFIG_VARIABLE (bool, auto_xfade, "auto-xfade", true)
CONFIG_VARIABLE (float, short_xfade_seconds, "short-xfade-seconds", 0.015)