alsa: disable htimestamp when it seems to error too much

This commit is contained in:
Wim Taymans 2023-06-29 16:40:21 +02:00
parent f76191c792
commit 2963e7fd4c
2 changed files with 15 additions and 3 deletions

View file

@ -40,6 +40,8 @@ extern "C" {
#define DEFAULT_CHANNELS 2u
#define DEFAULT_USE_CHMAP false
#define MAX_HTIMESTAMP_ERROR 64
struct props {
char device[64];
char device_name[128];
@ -185,6 +187,7 @@ struct state {
uint32_t start_delay;
uint32_t min_delay;
uint32_t max_delay;
uint32_t htimestamp_error;
uint32_t duration;
unsigned int alsa_started:1;