]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/sound/pcm.h
ALSA: core: keep track of boundary wrap-around
[linux-beck.git] / include / sound / pcm.h
index 6268a4192d5c4a3300a5792ceb08610386b9256d..28fd9f95f9ba7d804751aa7139b8cc63c90a72a1 100644 (file)
@@ -281,6 +281,7 @@ struct snd_pcm_runtime {
        unsigned long hw_ptr_jiffies;   /* Time when hw_ptr is updated */
        unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
        snd_pcm_sframes_t delay;        /* extra delay; typically FIFO size */
+       u64 hw_ptr_wrap;                /* offset for hw_ptr due to boundary wrap-around */
 
        /* -- HW params -- */
        snd_pcm_access_t access;        /* access mode */