filter-chain: parse config options

Remove LADSPA dependencies, only use it in ladspa_plugin.c
Parse convolver config, like filename
This commit is contained in:
Wim Taymans 2021-08-10 23:50:24 +02:00
parent a2aaa71392
commit 44c6ec146e
7 changed files with 147 additions and 60 deletions

View file

@ -67,6 +67,8 @@ static inline void spa_json_enter(struct spa_json * iter, struct spa_json * sub)
*sub = SPA_JSON_ENTER(iter);
}
#define SPA_JSON_SAVE(iter) (struct spa_json) { (iter)->cur, (iter)->end, }
/** Get the next token. \a value points to the token and the return value
* is the length. */
static inline int spa_json_next(struct spa_json * iter, const char **value)