Add support for max volume for AirPlay devices (raop)

This commit is contained in:
ejurgensen
2014-02-09 16:07:00 +01:00
parent 258163e6ce
commit 23a7e82a1f
4 changed files with 38 additions and 14 deletions

View File

@@ -92,9 +92,10 @@ static cfg_opt_t sec_audio[] =
CFG_END()
};
/* ApEx device section structure */
static cfg_opt_t sec_apex[] =
/* AirPlay/ApEx device section structure */
static cfg_opt_t sec_airplay[] =
{
CFG_INT("max_volume", 11, CFGF_NONE),
CFG_STR("password", NULL, CFGF_NONE),
CFG_END()
};
@@ -105,7 +106,7 @@ static cfg_opt_t toplvl_cfg[] =
CFG_SEC("general", sec_general, CFGF_NONE),
CFG_SEC("library", sec_library, CFGF_NONE),
CFG_SEC("audio", sec_audio, CFGF_NONE),
CFG_SEC("apex", sec_apex, CFGF_MULTI | CFGF_TITLE),
CFG_SEC("airplay", sec_airplay, CFGF_MULTI | CFGF_TITLE),
CFG_END()
};