11 lines
401 B
PHP
11 lines
401 B
PHP
|
#define BOOL_PROPERTY(name, default_value) _PROPERTY(name, bool, default_value)
|
||
|
#define DOUBLE_PROPERTY(name, default_value) _PROPERTY(name, double, default_value)
|
||
|
BOOL_PROPERTY(pcm_enable, true)
|
||
|
BOOL_PROPERTY(psg_enable, true)
|
||
|
BOOL_PROPERTY(fm_enable, true)
|
||
|
DOUBLE_PROPERTY(pcm_volume, 1.0)
|
||
|
DOUBLE_PROPERTY(psg_volume, 1.0)
|
||
|
DOUBLE_PROPERTY(fm_volume, 1.0)
|
||
|
#undef BOOL_PROPERTY
|
||
|
#undef DOUBLE_PROPERTY
|