settings: use metadata for settings

The settings metadata can be used to modify global context properties
at runtime such as min/max quantum, loglevel and samplerate.

See #1288
This commit is contained in:
Wim Taymans 2021-06-14 17:10:03 +02:00
parent f6ce23cbe3
commit e301048abb
4 changed files with 151 additions and 0 deletions

View file

@ -1241,6 +1241,8 @@ void pw_log_log_object(enum spa_log_level level, const char *file, int line,
bool pw_log_is_default(void);
int pw_settings_init(struct pw_context *context);
/** \endcond */
#ifdef __cplusplus