examples: fix up adapter-control

Negotiate format, then buffers.
Give quantum-limit as a property when making nodes.
Set clock and position io and fill in rate and duration.
This commit is contained in:
Wim Taymans 2022-06-14 17:42:33 +02:00
parent db49021104
commit fa9baa6488
2 changed files with 56 additions and 41 deletions

View file

@ -2581,8 +2581,6 @@ impl_init(const struct spa_handle_factory *factory,
this->mix.rear_delay = 12.0f;
this->mix.widen = 0.0f;
this->quantum_limit = 8192;
for (i = 0; info && i < info->n_items; i++) {
const char *k = info->items[i].key;
const char *s = info->items[i].value;