alsa: Added handle for controlling htimestamp autodisable

You can now do this to permanently enable htimestamp:

pw-cli s 38 Props '{ params: [ api.alsa.htimestamp.max-errors: 0, api.alsa.htimestamp: true ]}'
This commit is contained in:
Dimitrios Katsaros 2024-02-20 08:47:03 +01:00
parent 2e29177964
commit 539fdc5477
3 changed files with 22 additions and 3 deletions

View file

@ -203,6 +203,7 @@ struct state {
uint32_t min_delay;
uint32_t max_delay;
uint32_t htimestamp_error;
uint32_t htimestamp_max_errors;
struct spa_fraction driver_rate;
uint32_t driver_duration;