pulse-server: improve module args compatibility

Boolean switches can also be true with 'y', 'yes', 't' and 'on'
This commit is contained in:
Wim Taymans 2021-09-21 17:37:39 +02:00
parent 310e6009ca
commit c8f629a0a3
6 changed files with 14 additions and 5 deletions

View file

@ -82,5 +82,6 @@ void module_add_listener(struct module *module,
void module_args_add_props(struct pw_properties *props, const char *str);
int module_args_to_audioinfo(struct impl *impl, struct pw_properties *props, struct spa_audio_info_raw *info);
bool module_args_parse_bool(const char *str);
#endif