mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
Add support for max volume for AirPlay devices (raop)
This commit is contained in:
@@ -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()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user