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 committed by Wim Taymans
parent d2e4ad1ae6
commit 67e0ebc336
3 changed files with 22 additions and 3 deletions

View file

@ -202,6 +202,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;