summaryrefslogtreecommitdiffstats
path: root/libavdevice/alsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/alsa.h')
-rw-r--r--libavdevice/alsa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/alsa.h b/libavdevice/alsa.h
index 1ed8c82..93fa2d3 100644
--- a/libavdevice/alsa.h
+++ b/libavdevice/alsa.h
@@ -48,6 +48,7 @@ typedef void (*ff_reorder_func)(const void *, void *, int);
typedef struct AlsaData {
AVClass *class;
snd_pcm_t *h;
+ snd_pcm_status_t *st;
int frame_size; ///< bytes per sample * channels
int period_size; ///< preferred size for reads and writes, in frames
int sample_rate; ///< sample rate set by user
@@ -58,6 +59,7 @@ typedef struct AlsaData {
void *reorder_buf;
int reorder_buf_size; ///< in frames
int64_t timestamp; ///< current timestamp, without latency applied.
+ int use_driver_timestamps; ///< bitfield w/ detected driver ts support
} AlsaData;
/**
OpenPOWER on IntegriCloud